Index: content/browser/browser_url_handler_impl.cc |
diff --git a/content/browser/browser_url_handler_impl.cc b/content/browser/browser_url_handler_impl.cc |
index 5ff1309f1a8dfef9dae037c229a81f676511ccf2..b3085c91c9edfb47c4eed38dca42559f583990b6 100644 |
--- a/content/browser/browser_url_handler_impl.cc |
+++ b/content/browser/browser_url_handler_impl.cc |
@@ -16,7 +16,7 @@ namespace content { |
static bool HandleViewSource(GURL* url, BrowserContext* browser_context) { |
if (url->SchemeIs(kViewSourceScheme)) { |
// Load the inner URL instead. |
- *url = GURL(url->path()); |
+ *url = GURL(url->Content()); |
// Bug 26129: limit view-source to view the content and not any |
// other kind of 'active' url scheme like 'javascript' or 'data'. |