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

Unified Diff: content/browser/quota/quota_manager_unittest.cc

Issue 2485253002: Remove unnecessary calls to GURL() (Closed)
Patch Set: Assert that StringPiece must always be canonicalized. Fix some constants. 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
« no previous file with comments | « content/browser/fileapi/obfuscated_file_util_unittest.cc ('k') | content/public/common/url_constants.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/quota/quota_manager_unittest.cc
diff --git a/content/browser/quota/quota_manager_unittest.cc b/content/browser/quota/quota_manager_unittest.cc
index 0080f611bfed840596f88d04f40cd9305a4e323a..580d68e059909c783bf9ef033e6479dac485abed 100644
--- a/content/browser/quota/quota_manager_unittest.cc
+++ b/content/browser/quota/quota_manager_unittest.cc
@@ -1490,8 +1490,7 @@ TEST_F(QuotaManagerTest, EvictOriginDataWithDeletionError) {
for (iterator itr(origin_info_entries().begin()),
end(origin_info_entries().end());
itr != end; ++itr) {
- if (itr->type == kTemp &&
- GURL("http://foo.com/") == itr->origin) {
+ if (itr->type == kTemp && itr->origin == "http://foo.com/") {
found_origin_in_database = true;
break;
}
« no previous file with comments | « content/browser/fileapi/obfuscated_file_util_unittest.cc ('k') | content/public/common/url_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698