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

Unified Diff: third_party/WebKit/Source/platform/wtf/typed_arrays/ArrayBufferContents.h

Issue 2878053002: Keep materialized ArrayBuffer and ImageBitmap objects in SerializedScriptValue. (Closed)
Patch Set: slight refactor Created 3 years, 7 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/platform/wtf/typed_arrays/ArrayBufferContents.h
diff --git a/third_party/WebKit/Source/platform/wtf/typed_arrays/ArrayBufferContents.h b/third_party/WebKit/Source/platform/wtf/typed_arrays/ArrayBufferContents.h
index b5b6628231049d941de398b9f191bbfc7568b067..a4ee2d6113e6a256528f449f4c9d3e145a362846 100644
--- a/third_party/WebKit/Source/platform/wtf/typed_arrays/ArrayBufferContents.h
+++ b/third_party/WebKit/Source/platform/wtf/typed_arrays/ArrayBufferContents.h
@@ -68,9 +68,12 @@ class WTF_EXPORT ArrayBufferContents {
ArrayBufferContents(DataHandle,
unsigned size_in_bytes,
SharingType is_shared);
+ ArrayBufferContents(ArrayBufferContents&&) = default;
~ArrayBufferContents();
+ ArrayBufferContents& operator=(ArrayBufferContents&&) = default;
+
void Neuter();
void* Data() const {

Powered by Google App Engine
This is Rietveld 408576698