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

Unified Diff: third_party/WebKit/Source/modules/cachestorage/CacheStorage.h

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. Created 4 years, 6 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/CacheStorage.h
diff --git a/third_party/WebKit/Source/modules/cachestorage/CacheStorage.h b/third_party/WebKit/Source/modules/cachestorage/CacheStorage.h
index 29a47211e919198056766ed76628d0c9d4f68e35..9a0d149d4f505fb1fe646b75c3b7119695cb9efe 100644
--- a/third_party/WebKit/Source/modules/cachestorage/CacheStorage.h
+++ b/third_party/WebKit/Source/modules/cachestorage/CacheStorage.h
@@ -15,6 +15,7 @@
#include "wtf/Forward.h"
#include "wtf/HashMap.h"
#include "wtf/Noncopyable.h"
+#include <memory>
namespace blink {
@@ -47,11 +48,11 @@ private:
friend class WithCacheCallbacks;
friend class DeleteCallbacks;
- CacheStorage(GlobalFetch::ScopedFetcher*, PassOwnPtr<WebServiceWorkerCacheStorage>);
+ CacheStorage(GlobalFetch::ScopedFetcher*, std::unique_ptr<WebServiceWorkerCacheStorage>);
ScriptPromise matchImpl(ScriptState*, const Request*, const CacheQueryOptions&);
Member<GlobalFetch::ScopedFetcher> m_scopedFetcher;
- OwnPtr<WebServiceWorkerCacheStorage> m_webCacheStorage;
+ std::unique_ptr<WebServiceWorkerCacheStorage> m_webCacheStorage;
HeapHashMap<String, Member<Cache>> m_nameToCacheMap;
};

Powered by Google App Engine
This is Rietveld 408576698