summaryrefslogtreecommitdiffstats
path: root/chrome/browser/safe_browsing/malware_details.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/safe_browsing/malware_details.cc')
-rw-r--r--chrome/browser/safe_browsing/malware_details.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/safe_browsing/malware_details.cc b/chrome/browser/safe_browsing/malware_details.cc
index 481cb70..95f7de5 100644
--- a/chrome/browser/safe_browsing/malware_details.cc
+++ b/chrome/browser/safe_browsing/malware_details.cc
@@ -75,7 +75,7 @@ MalwareDetails::MalwareDetails(
TabContents* tab_contents,
const SafeBrowsingService::UnsafeResource& resource)
: TabContentsObserver(tab_contents),
- profile_(Profile::FromBrowserContext(tab_contents->browser_context())),
+ profile_(Profile::FromBrowserContext(tab_contents->GetBrowserContext())),
request_context_getter_(profile_->GetRequestContext()),
sb_service_(sb_service),
resource_(resource),