Index: chrome/browser/ui/webui/theme_source_unittest.cc |
diff --git a/chrome/browser/ui/webui/theme_source_unittest.cc b/chrome/browser/ui/webui/theme_source_unittest.cc |
index 0e358a029024272bac49b77f7c6719a74b8224e7..1355216c010469b043f78c9636b331b3b12957a4 100644 |
--- a/chrome/browser/ui/webui/theme_source_unittest.cc |
+++ b/chrome/browser/ui/webui/theme_source_unittest.cc |
@@ -7,7 +7,7 @@ |
#include "chrome/browser/ui/webui/theme_source.h" |
#include "chrome/common/url_constants.h" |
#include "chrome/test/base/testing_profile.h" |
-#include "content/browser/browser_thread.h" |
+#include "content/test/test_browser_thread.h" |
#include "grit/theme_resources.h" |
#include "grit/theme_resources_standard.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -51,7 +51,7 @@ class WebUISourcesTest : public testing::Test { |
} |
MessageLoop loop_; |
- BrowserThread ui_thread_; |
+ content::TestBrowserThread ui_thread_; |
scoped_ptr<TestingProfile> profile_; |
scoped_refptr<MockThemeSource> theme_source_; |
@@ -77,7 +77,8 @@ TEST_F(WebUISourcesTest, ThemeSourceImages) { |
} |
TEST_F(WebUISourcesTest, ThemeSourceCSS) { |
- BrowserThread io_thread(BrowserThread::IO, MessageLoop::current()); |
+ content::TestBrowserThread io_thread(BrowserThread::IO, |
+ MessageLoop::current()); |
// Generating the test data for the NTP CSS would just involve copying the |
// method, or being super brittle and hard-coding the result (requiring |
// an update to the unittest every time the CSS template changes), so we |