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

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

Issue 1841553002: IndexedDB: Use url::Origin rather than GURL for representing origins (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@origin-idb
Patch Set: Rebased Created 4 years, 8 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 | « no previous file | content/browser/indexed_db/indexed_db_active_blob_registry_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/indexed_db/indexed_db_active_blob_registry.cc
diff --git a/content/browser/indexed_db/indexed_db_active_blob_registry.cc b/content/browser/indexed_db/indexed_db_active_blob_registry.cc
index 2a1131f92c083667b8bede6b198ef8b5fa29280b..8f8e97571470795b740dfafa9afe458101b33d77 100644
--- a/content/browser/indexed_db/indexed_db_active_blob_registry.cc
+++ b/content/browser/indexed_db/indexed_db_active_blob_registry.cc
@@ -34,7 +34,7 @@ void IndexedDBActiveBlobRegistry::AddBlobRef(int64_t database_id,
single_db_map[blob_key] = false;
if (need_ref) {
backing_store_->factory()->ReportOutstandingBlobs(
- backing_store_->origin_url(), true);
+ backing_store_->origin(), true);
}
} else {
DCHECK(!need_ref);
@@ -77,8 +77,8 @@ void IndexedDBActiveBlobRegistry::ReleaseBlobRef(int64_t database_id,
if (delete_in_backend)
backing_store_->ReportBlobUnused(database_id, blob_key);
if (use_tracker_.empty()) {
- backing_store_->factory()->ReportOutstandingBlobs(
- backing_store_->origin_url(), false);
+ backing_store_->factory()->ReportOutstandingBlobs(backing_store_->origin(),
+ false);
}
}
« no previous file with comments | « no previous file | content/browser/indexed_db/indexed_db_active_blob_registry_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698