Index: third_party/WebKit/Source/modules/storage/StorageNamespace.cpp |
diff --git a/third_party/WebKit/Source/modules/storage/StorageNamespace.cpp b/third_party/WebKit/Source/modules/storage/StorageNamespace.cpp |
index ea002bb83227a1900622ee591d8252b7dbae9ec1..2b62537e08acc5a456108471526d871865ba03c9 100644 |
--- a/third_party/WebKit/Source/modules/storage/StorageNamespace.cpp |
+++ b/third_party/WebKit/Source/modules/storage/StorageNamespace.cpp |
@@ -44,7 +44,7 @@ StorageNamespace::~StorageNamespace() {} |
StorageArea* StorageNamespace::LocalStorageArea(SecurityOrigin* origin) { |
DCHECK(IsMainThread()); |
- static WebStorageNamespace* local_storage_namespace = nullptr; |
+ static std::unique_ptr<WebStorageNamespace> local_storage_namespace = nullptr; |
if (!local_storage_namespace) |
local_storage_namespace = |
Platform::Current()->CreateLocalStorageNamespace(); |