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

Unified Diff: third_party/WebKit/Source/modules/storage/StorageNamespace.cpp

Issue 2859553002: Revert of [blink] Unique pointers in Platform.h (Closed)
Patch Set: Created 3 years, 8 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/StorageNamespace.cpp
diff --git a/third_party/WebKit/Source/modules/storage/StorageNamespace.cpp b/third_party/WebKit/Source/modules/storage/StorageNamespace.cpp
index 2b62537e08acc5a456108471526d871865ba03c9..ea002bb83227a1900622ee591d8252b7dbae9ec1 100644
--- a/third_party/WebKit/Source/modules/storage/StorageNamespace.cpp
+++ b/third_party/WebKit/Source/modules/storage/StorageNamespace.cpp
@@ -44,7 +44,7 @@
StorageArea* StorageNamespace::LocalStorageArea(SecurityOrigin* origin) {
DCHECK(IsMainThread());
- static std::unique_ptr<WebStorageNamespace> local_storage_namespace = nullptr;
+ static WebStorageNamespace* local_storage_namespace = nullptr;
if (!local_storage_namespace)
local_storage_namespace =
Platform::Current()->CreateLocalStorageNamespace();

Powered by Google App Engine
This is Rietveld 408576698