Chromium Code Reviews

Unified Diff: chrome/browser/extensions/api/tabs/tabs_api.cc

Issue 23549039: Preparing to support fragment resolution against non-hierarchical schemes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: chrome/browser/extensions/api/tabs/tabs_api.cc
diff --git a/chrome/browser/extensions/api/tabs/tabs_api.cc b/chrome/browser/extensions/api/tabs/tabs_api.cc
index d0f23482891b179d8b8324de4170ba74cb5798f8..3379d8b2841543c9cc828288207ed4411c59c542 100644
--- a/chrome/browser/extensions/api/tabs/tabs_api.cc
+++ b/chrome/browser/extensions/api/tabs/tabs_api.cc
@@ -1342,7 +1342,7 @@ bool TabsUpdateFunction::UpdateURL(const std::string &url_string,
script_executor()->ExecuteScript(
extension_id(),
ScriptExecutor::JAVASCRIPT,
- url.path(),
+ url.GetContent(),
ScriptExecutor::TOP_FRAME,
UserScript::DOCUMENT_IDLE,
ScriptExecutor::MAIN_WORLD,

Powered by Google App Engine