Index: chrome/browser/safe_browsing/malware_details.cc |
=================================================================== |
--- chrome/browser/safe_browsing/malware_details.cc (revision 115900) |
+++ chrome/browser/safe_browsing/malware_details.cc (working copy) |
@@ -24,6 +24,7 @@ |
#include "net/url_request/url_request_context_getter.h" |
using content::BrowserThread; |
+using content::NavigationEntry; |
using content::WebContents; |
using safe_browsing::ClientMalwareReportRequest; |
@@ -168,8 +169,7 @@ |
} |
GURL referrer_url; |
- content::NavigationEntry* nav_entry = |
- web_contents()->GetController().GetActiveEntry(); |
+ NavigationEntry* nav_entry = web_contents()->GetController().GetActiveEntry(); |
if (nav_entry) { |
referrer_url = nav_entry->GetReferrer().url; |
if (IsPublicUrl(referrer_url)) { |