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

Unified Diff: content/renderer/render_view_impl.cc

Issue 9808029: Prepending view-source: does not load the source of the userscript. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Removed extra logging code. Created 8 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
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 7cc0a21e7f5bb33127a0c42565d3e81f4a2b1e63..16190884fa0264971b275d01e37a1ca27818b0e7 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -913,6 +913,7 @@ void RenderViewImpl::OnNavigate(const ViewMsg_Navigate_Params& params) {
} else {
// Navigate to the given URL.
WebURLRequest request(params.url);
+ request.setVirtualURL(params.virtual_url);
darin (slow to review) 2012/03/27 03:20:49 we don't want to have to teach WebKit about virtua
chebert 2012/03/31 21:03:18 Done.
// A session history navigation should have been accompanied by state.
CHECK_EQ(params.page_id, -1);

Powered by Google App Engine
This is Rietveld 408576698