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

Unified Diff: content/public/browser/navigation_handle.cc

Issue 2411693003: Move blocking of top-level navigations to nested URLs with extension origins from non-extension pro… (Closed)
Patch Set: Created 4 years, 2 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
Index: content/public/browser/navigation_handle.cc
diff --git a/content/public/browser/navigation_handle.cc b/content/public/browser/navigation_handle.cc
index 6e48416c704d051290050ce2058eb4ac0fb3db57..b6e90ba5af9146d2b5da6adaaa22b12365bbf8ca 100644
--- a/content/public/browser/navigation_handle.cc
+++ b/content/public/browser/navigation_handle.cc
@@ -29,8 +29,9 @@ NavigationHandle::CreateNavigationHandleForTesting(
net::Error error) {
std::unique_ptr<NavigationHandleImpl> handle_impl =
NavigationHandleImpl::Create(
- url, static_cast<RenderFrameHostImpl*>(render_frame_host)
- ->frame_tree_node(),
+ url, GURL(),
+ static_cast<RenderFrameHostImpl*>(render_frame_host)
+ ->frame_tree_node(),
true, // is_renderer_initiated
false, // is_synchronous
false, // is_srcdoc

Powered by Google App Engine
This is Rietveld 408576698