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

Unified Diff: third_party/WebKit/Source/modules/cachestorage/GlobalCacheStorage.cpp

Issue 2846843002: [blink] Unique pointers in Platform.h (Closed)
Patch Set: fix compilation (and again) Created 3 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
Index: third_party/WebKit/Source/modules/cachestorage/GlobalCacheStorage.cpp
diff --git a/third_party/WebKit/Source/modules/cachestorage/GlobalCacheStorage.cpp b/third_party/WebKit/Source/modules/cachestorage/GlobalCacheStorage.cpp
index 7c1b39f3993a190a9c07eec8190a5de95280f516..c8405f3ac98cafad467eab220226d69cfd1bfaa0 100644
--- a/third_party/WebKit/Source/modules/cachestorage/GlobalCacheStorage.cpp
+++ b/third_party/WebKit/Source/modules/cachestorage/GlobalCacheStorage.cpp
@@ -60,7 +60,7 @@ class GlobalCacheStorageImpl final
if (!caches_) {
caches_ = CacheStorage::Create(
GlobalFetch::ScopedFetcher::From(fetching_scope),
- Platform::Current()->CacheStorage(
+ Platform::Current()->CreateCacheStorage(
WebSecurityOrigin(context->GetSecurityOrigin())));
}
return caches_;

Powered by Google App Engine
This is Rietveld 408576698