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

Unified Diff: chrome/browser/renderer_context_menu/context_menu_content_type_factory.cc

Issue 2478573004: Convert GURL::{host,path} to GURL::{host_piece,path_piece} for ==. (Closed)
Patch Set: 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: chrome/browser/renderer_context_menu/context_menu_content_type_factory.cc
diff --git a/chrome/browser/renderer_context_menu/context_menu_content_type_factory.cc b/chrome/browser/renderer_context_menu/context_menu_content_type_factory.cc
index 351ff01692604e2b173de7df1de75ccffa27abf5..90231ba9ec4d14247d35d3448b4eb3a75a55b76b 100644
--- a/chrome/browser/renderer_context_menu/context_menu_content_type_factory.cc
+++ b/chrome/browser/renderer_context_menu/context_menu_content_type_factory.cc
@@ -26,7 +26,7 @@ namespace {
bool CheckInternalResourcesURL(const GURL& url) {
return url.SchemeIs(content::kChromeUIScheme) &&
- (url.host() == chrome::kChromeUISyncResourcesHost);
+ (url.host_piece() == chrome::kChromeUISyncResourcesHost);
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698