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

Unified Diff: ios/chrome/browser/history/history_utils.cc

Issue 2485253002: Remove unnecessary calls to GURL() (Closed)
Patch Set: Fix broken tests 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: ios/chrome/browser/history/history_utils.cc
diff --git a/ios/chrome/browser/history/history_utils.cc b/ios/chrome/browser/history/history_utils.cc
index 4a703f3538a89594798c5570d1c3a659ebf12c6c..211e71702918e987f3438758462d400c8fb39f55 100644
--- a/ios/chrome/browser/history/history_utils.cc
+++ b/ios/chrome/browser/history/history_utils.cc
@@ -27,7 +27,7 @@ bool CanAddURLToHistory(const GURL& url) {
// Allow all about: and chrome: URLs except about:blank, since the user may
// like to see "chrome://version", etc. in their history and autocomplete.
- if (url == GURL(url::kAboutBlankURL))
+ if (url == url::kAboutBlankURL)
return false;
return true;

Powered by Google App Engine
This is Rietveld 408576698