Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5903)

Unified Diff: chrome/browser/safe_browsing/safe_browsing_blocking_page.cc

Issue 2831583006: Fix incorrect |main_frame_url_| parameter to BaseBlockingPage (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
diff --git a/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc b/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
index eaa8a85991731bd26c7496316afe4ac2b0dd8384..68d84bc3deb05b120c876629c2661c237a8a0ef3 100644
--- a/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
@@ -106,7 +106,7 @@ SafeBrowsingBlockingPage::SafeBrowsingBlockingPage(
: BaseBlockingPage(
ui_manager,
web_contents,
- unsafe_resources[0].url,
+ main_frame_url,
unsafe_resources,
CreateControllerClient(web_contents, unsafe_resources, ui_manager),
display_options) {
« no previous file with comments | « no previous file | chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698