summaryrefslogtreecommitdiffstats
path: root/chrome/browser/safe_browsing/malware_details_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/safe_browsing/malware_details_unittest.cc')
-rw-r--r--chrome/browser/safe_browsing/malware_details_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/safe_browsing/malware_details_unittest.cc b/chrome/browser/safe_browsing/malware_details_unittest.cc
index b62eeaf..e913da5 100644
--- a/chrome/browser/safe_browsing/malware_details_unittest.cc
+++ b/chrome/browser/safe_browsing/malware_details_unittest.cc
@@ -219,7 +219,7 @@ class MalwareDetailsTest : public ChromeRenderViewHostTestHarness {
resource->threat_type = SafeBrowsingService::URL_MALWARE;
resource->render_process_host_id = contents()->GetRenderProcessHost()->
GetID();
- resource->render_view_id = contents()->render_view_host()->routing_id();
+ resource->render_view_id = contents()->GetRenderViewHost()->routing_id();
}
void VerifyResults(const ClientMalwareReportRequest& report_pb,