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

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

Powered by Google App Engine
This is Rietveld 408576698