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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/SerializedScriptValue.h

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 5fbefc25cd31df1885eea622ad9e435acf2015e4..c3261ae08ec30bb4ea3ee5f59d89ef7642d38de7 100644
--- a/third_party/WebKit/Source/bindings/core/v8/SerializedScriptValue.h
+++ b/third_party/WebKit/Source/bindings/core/v8/SerializedScriptValue.h
@@ -36,10 +36,14 @@
#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;
@@ -127,8 +131,8 @@ private:
private:
String m_data;
- std::unique_ptr<ArrayBufferContentsArray> m_arrayBufferContentsArray;
- std::unique_ptr<ImageBitmapContentsArray> m_imageBitmapContentsArray;
+ OwnPtr<ArrayBufferContentsArray> m_arrayBufferContentsArray;
+ OwnPtr<ImageBitmapContentsArray> m_imageBitmapContentsArray;
BlobDataHandleMap m_blobDataHandles;
intptr_t m_externallyAllocatedMemory;

Powered by Google App Engine
This is Rietveld 408576698