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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/SerializedScriptValue.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/bindings/core/v8/SerializedScriptValue.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/SerializedScriptValue.h b/third_party/WebKit/Source/bindings/core/v8/SerializedScriptValue.h
index c3261ae08ec30bb4ea3ee5f59d89ef7642d38de7..5fbefc25cd31df1885eea622ad9e435acf2015e4 100644
--- a/third_party/WebKit/Source/bindings/core/v8/SerializedScriptValue.h
+++ b/third_party/WebKit/Source/bindings/core/v8/SerializedScriptValue.h
@@ -36,14 +36,10 @@
#include "core/CoreExport.h"
#include "wtf/HashMap.h"
#include "wtf/ThreadSafeRefCounted.h"
+#include "wtf/typed_arrays/ArrayBufferContents.h"
+#include <memory>
#include <v8.h>
-namespace WTF {
-
-class ArrayBufferContents;
-
-}
-
namespace blink {
class BlobDataHandle;
@@ -131,8 +127,8 @@ private:
private:
String m_data;
- OwnPtr<ArrayBufferContentsArray> m_arrayBufferContentsArray;
- OwnPtr<ImageBitmapContentsArray> m_imageBitmapContentsArray;
+ std::unique_ptr<ArrayBufferContentsArray> m_arrayBufferContentsArray;
+ std::unique_ptr<ImageBitmapContentsArray> m_imageBitmapContentsArray;
BlobDataHandleMap m_blobDataHandles;
intptr_t m_externallyAllocatedMemory;

Powered by Google App Engine
This is Rietveld 408576698