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

Unified Diff: third_party/WebKit/Source/modules/storage/StorageNamespaceController.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/StorageNamespaceController.h
diff --git a/third_party/WebKit/Source/modules/storage/StorageNamespaceController.h b/third_party/WebKit/Source/modules/storage/StorageNamespaceController.h
index 8ac6cb086f3e2be7d3e5a4694facb631e520cbff..b0deffaf50d6f9de7920863b909d7f7c9288f29d 100644
--- a/third_party/WebKit/Source/modules/storage/StorageNamespaceController.h
+++ b/third_party/WebKit/Source/modules/storage/StorageNamespaceController.h
@@ -8,7 +8,7 @@
#include "core/page/Page.h"
#include "modules/ModulesExport.h"
#include "platform/Supplementable.h"
-#include "wtf/PassOwnPtr.h"
+#include <memory>
namespace blink {
@@ -33,7 +33,7 @@ public:
private:
explicit StorageNamespaceController(StorageClient*);
static const char* supplementName();
- OwnPtr<StorageNamespace> m_sessionStorage;
+ std::unique_ptr<StorageNamespace> m_sessionStorage;
StorageClient* m_client;
Member<InspectorDOMStorageAgent> m_inspectorAgent;
};

Powered by Google App Engine
This is Rietveld 408576698