#include "base/strings/utf_string_conversions.h"
#include "chrome/test/base/testing_profile.h"
#include "components/sync_preferences/testing_pref_service_syncable.h"
-#include "content/public/test/test_browser_thread_bundle.h"
+#include "content/public/test/browser_task_environment.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
// Tests that the cache is correctly set and cleared.
TEST(FontFamilyCacheTest, Caching) {
- content::TestBrowserThreadBundle thread_bundle_;
+ content::BrowserTaskEnvironment task_environment_;
TestingProfile profile;
TestingFontFamilyCache cache(&profile);
sync_preferences::TestingPrefServiceSyncable* prefs =