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

Unified Diff: content/browser/frame_host/navigator_impl.cc

Issue 1832803002: Make EnableViewSourceMode a FrameMsg (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 4 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 | « no previous file | content/browser/frame_host/render_frame_host_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/navigator_impl.cc
diff --git a/content/browser/frame_host/navigator_impl.cc b/content/browser/frame_host/navigator_impl.cc
index 41f1221c55b6bc580a68e60876c641895b3a35d5..eec6bd666edc4cb0a7356fcbdc2339d1f167e781 100644
--- a/content/browser/frame_host/navigator_impl.cc
+++ b/content/browser/frame_host/navigator_impl.cc
@@ -857,9 +857,8 @@ void NavigatorImpl::CommitNavigation(NavigationRequest* navigation_request,
render_frame_host ==
frame_tree_node->render_manager()->current_frame_host()) {
DCHECK(!render_frame_host->GetParent());
- render_frame_host->render_view_host()->Send(
- new ViewMsg_EnableViewSourceMode(
- render_frame_host->render_view_host()->GetRoutingID()));
+ render_frame_host->Send(
+ new FrameMsg_EnableViewSourceMode(render_frame_host->GetRoutingID()));
}
CheckWebUIRendererDoesNotDisplayNormalURL(
« no previous file with comments | « no previous file | content/browser/frame_host/render_frame_host_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698