diff options
Diffstat (limited to 'chrome/browser/browser_theme_pack_unittest.cc')
-rw-r--r-- | chrome/browser/browser_theme_pack_unittest.cc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/chrome/browser/browser_theme_pack_unittest.cc b/chrome/browser/browser_theme_pack_unittest.cc index 77da71b..7d780f2 100644 --- a/chrome/browser/browser_theme_pack_unittest.cc +++ b/chrome/browser/browser_theme_pack_unittest.cc @@ -20,7 +20,12 @@ class BrowserThemePackTest : public ::testing::Test { public: - BrowserThemePackTest() : theme_pack_(new BrowserThemePack) { } + BrowserThemePackTest() + : message_loop(), + fake_ui_thread(ChromeThread::UI, &message_loop), + fake_file_thread(ChromeThread::FILE, &message_loop), + theme_pack_(new BrowserThemePack) { + } // Transformation for link underline colors. SkColor BuildThirdOpacity(SkColor color_link) { @@ -159,6 +164,10 @@ class BrowserThemePackTest : public ::testing::Test { EXPECT_FALSE(pack->GetTint(BrowserThemeProvider::TINT_FRAME, &actual)); } + MessageLoop message_loop; + ChromeThread fake_ui_thread; + ChromeThread fake_file_thread; + scoped_refptr<BrowserThemePack> theme_pack_; }; |