Index: chrome/browser/safe_browsing/client_side_detection_host_unittest.cc |
diff --git a/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc b/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc |
index 3b1c94e0aa229572bd9e31483cf8272836a574fa..5e00925d1726a936f84abe8a236271f2a1c3bfe7 100644 |
--- a/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc |
+++ b/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc |
@@ -364,7 +364,7 @@ class ClientSideDetectionHostTest : public ChromeRenderViewHostTestHarness { |
resource.threat_type = SB_THREAT_TYPE_URL_MALWARE; |
resource.callback = base::Bind(&EmptyUrlCheckCallback); |
resource.callback_thread = |
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO); |
+ BrowserThread::GetTaskRunnerForThread(BrowserThread::IO); |
resource.render_process_host_id = web_contents()->GetRenderProcessHost()-> |
GetID(); |
resource.render_frame_id = web_contents()->GetMainFrame()->GetRoutingID(); |
@@ -395,7 +395,7 @@ class ClientSideDetectionHostTest : public ChromeRenderViewHostTestHarness { |
resource.threat_type = SB_THREAT_TYPE_URL_MALWARE; |
resource.callback = base::Bind(&EmptyUrlCheckCallback); |
resource.callback_thread = |
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO); |
+ BrowserThread::GetTaskRunnerForThread(BrowserThread::IO); |
resource.render_process_host_id = pending_rvh()->GetProcess()->GetID(); |
resource.render_frame_id = pending_main_rfh()->GetRoutingID(); |
csd_host_->OnSafeBrowsingHit(resource); |