summaryrefslogtreecommitdiffstats
path: root/chrome/browser/safe_browsing
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/safe_browsing')
-rw-r--r--chrome/browser/safe_browsing/safe_browsing_blocking_page_unittest.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/safe_browsing/safe_browsing_blocking_page_unittest.cc b/chrome/browser/safe_browsing/safe_browsing_blocking_page_unittest.cc
index b3463e3..988dd25 100644
--- a/chrome/browser/safe_browsing/safe_browsing_blocking_page_unittest.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_blocking_page_unittest.cc
@@ -75,7 +75,8 @@ class SafeBrowsingBlockingPageTest : public RenderViewHostTestHarness,
};
SafeBrowsingBlockingPageTest()
- : io_thread_(ChromeThread::IO, MessageLoop::current()) {
+ : ui_thread_(ChromeThread::UI, MessageLoop::current()),
+ io_thread_(ChromeThread::IO, MessageLoop::current()) {
ResetUserResponse();
service_ = new SafeBrowsingService();
}
@@ -159,6 +160,7 @@ class SafeBrowsingBlockingPageTest : public RenderViewHostTestHarness,
UserResponse user_response_;
scoped_refptr<SafeBrowsingService> service_;
TestSafeBrowsingBlockingPageFactory factory_;
+ ChromeThread ui_thread_;
ChromeThread io_thread_;
};