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

Unified Diff: content/browser/indexed_db/indexed_db_backing_store.cc

Issue 2385533002: Replace usage of GURL(origin.Serialize()) with origin.GetURL() (Closed)
Patch Set: sync to #424762 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
Index: content/browser/indexed_db/indexed_db_backing_store.cc
diff --git a/content/browser/indexed_db/indexed_db_backing_store.cc b/content/browser/indexed_db/indexed_db_backing_store.cc
index 5b90e6834c76f1a2281577f2d285243cff388895..93722aee54a2f9f50bd7ed22d726025f9848175f 100644
--- a/content/browser/indexed_db/indexed_db_backing_store.cc
+++ b/content/browser/indexed_db/indexed_db_backing_store.cc
@@ -89,7 +89,7 @@ bool MakeIDBBlobDirectory(const FilePath& path_base,
}
static std::string ComputeOriginIdentifier(const Origin& origin) {
- return storage::GetIdentifierFromOrigin(GURL(origin.Serialize())) + "@1";
+ return storage::GetIdentifierFromOrigin(origin.GetURL()) + "@1";
}
static FilePath ComputeCorruptionFileName(const Origin& origin) {
« no previous file with comments | « content/browser/frame_host/render_frame_message_filter.cc ('k') | content/browser/indexed_db/indexed_db_context_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698