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

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

Issue 2756913002: Revert of PlzNavigate: Enforce 'frame-src' CSP on the browser. (Closed)
Patch Set: Created 3 years, 9 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 | « content/common/navigation_params.cc ('k') | content/public/test/render_view_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/navigation_handle.cc
diff --git a/content/public/browser/navigation_handle.cc b/content/public/browser/navigation_handle.cc
index 73f59738cd5b84ee525f9a543af0c24ac5d2ed2e..bcdbdb97b199bb949da118d5bfcd64b7087178ad 100644
--- a/content/public/browser/navigation_handle.cc
+++ b/content/public/browser/navigation_handle.cc
@@ -33,10 +33,10 @@
std::unique_ptr<NavigationHandleImpl> handle_impl =
NavigationHandleImpl::Create(
url, std::vector<GURL>(), rfhi->frame_tree_node(),
- true, // is_renderer_initiated
- is_same_page, base::TimeTicks::Now(), 0,
- false, // started_from_context_menu
- CSPDisposition::CHECK); // should_check_main_world_csp
+ true, // is_renderer_initiated
+ is_same_page,
+ base::TimeTicks::Now(), 0,
+ false); // started_from_context_menu
handle_impl->set_render_frame_host(rfhi);
if (error != net::OK)
handle_impl->set_net_error_code(error);
« no previous file with comments | « content/common/navigation_params.cc ('k') | content/public/test/render_view_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698