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

Unified Diff: components/history/core/browser/history_querying_unittest.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: components/history/core/browser/history_querying_unittest.cc
diff --git a/components/history/core/browser/history_querying_unittest.cc b/components/history/core/browser/history_querying_unittest.cc
index 2e8fbb3c431f08f249b8ec16224805d560bb51b1..da3a53633e42bf0feb8bf6df63ea13129cb577bd 100644
--- a/components/history/core/browser/history_querying_unittest.cc
+++ b/components/history/core/browser/history_querying_unittest.cc
@@ -65,7 +65,7 @@ bool NthResultIs(const QueryResults& results,
return false;
// Now check the URL & title.
- return result.url() == GURL(test_entries[test_entry_index].url) &&
+ return result.url() == test_entries[test_entry_index].url &&
result.title() ==
base::UTF8ToUTF16(test_entries[test_entry_index].title);
}

Powered by Google App Engine
This is Rietveld 408576698