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

Unified Diff: third_party/WebKit/Source/modules/storage/StorageClient.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/storage/StorageClient.h
diff --git a/third_party/WebKit/Source/modules/storage/StorageClient.h b/third_party/WebKit/Source/modules/storage/StorageClient.h
index ef26ffec450bb7817dd1a8d77b37bec46404bafa..ef98e4a105172f7c5ef3b146752e233acd1372dd 100644
--- a/third_party/WebKit/Source/modules/storage/StorageClient.h
+++ b/third_party/WebKit/Source/modules/storage/StorageClient.h
@@ -6,7 +6,7 @@
#define StorageClient_h
#include "modules/storage/StorageArea.h"
-#include <memory>
+#include "wtf/PassOwnPtr.h"
namespace blink {
@@ -16,7 +16,7 @@ class StorageClient {
public:
virtual ~StorageClient() { }
- virtual std::unique_ptr<StorageNamespace> createSessionStorageNamespace() = 0;
+ virtual PassOwnPtr<StorageNamespace> createSessionStorageNamespace() = 0;
virtual bool canAccessStorage(LocalFrame*, StorageType) const = 0;
};

Powered by Google App Engine
This is Rietveld 408576698