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

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

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

Powered by Google App Engine
This is Rietveld 408576698