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

Unified Diff: chrome/browser/prerender/prerender_manager.cc

Issue 2409423005: Compare GURLs to kUrlConstants with .spec() and string equality (Closed)
Patch Set: rebase on dependent patch Created 4 years, 2 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
« no previous file with comments | « chrome/browser/app_controller_mac.mm ('k') | chrome/browser/search/search.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prerender/prerender_manager.cc
diff --git a/chrome/browser/prerender/prerender_manager.cc b/chrome/browser/prerender/prerender_manager.cc
index d455df42fed10bb70d3dd1acb72d50095f7c4373..379c697a3e6175b1dbaf7e7bb1ab66997ca7a7b6 100644
--- a/chrome/browser/prerender/prerender_manager.cc
+++ b/chrome/browser/prerender/prerender_manager.cc
@@ -734,7 +734,7 @@ bool PrerenderManager::DoesURLHaveValidScheme(const GURL& url) {
// static
bool PrerenderManager::DoesSubresourceURLHaveValidScheme(const GURL& url) {
- return DoesURLHaveValidScheme(url) || url == GURL(url::kAboutBlankURL);
+ return DoesURLHaveValidScheme(url) || url == url::kAboutBlankURL;
}
std::unique_ptr<base::DictionaryValue> PrerenderManager::GetAsValue() const {
« no previous file with comments | « chrome/browser/app_controller_mac.mm ('k') | chrome/browser/search/search.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698