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

Unified Diff: extensions/browser/extension_error.cc

Issue 2478573004: Convert GURL::{host,path} to GURL::{host_piece,path_piece} for ==. (Closed)
Patch Set: rebase to #431874 Created 4 years, 1 month 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: extensions/browser/extension_error.cc
diff --git a/extensions/browser/extension_error.cc b/extensions/browser/extension_error.cc
index 0b8aa386d3b659ef99029b42ab6eceea0c09d7bc..15559e0eca11c8b823b4800cb67866163984318e 100644
--- a/extensions/browser/extension_error.cc
+++ b/extensions/browser/extension_error.cc
@@ -148,7 +148,7 @@ void RuntimeError::CleanUpInit() {
// background page in this case.
GURL source_url = GURL(source_);
if (context_url_.is_empty() &&
- source_url.path() ==
+ source_url.path_piece() ==
std::string("/") + kGeneratedBackgroundPageFilename) {
context_url_ = source_url;
}
« no previous file with comments | « content/browser/webui/url_data_manager_backend.cc ('k') | net/http/http_stream_factory_impl_job_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698