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

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

Issue 2541683002: Make ImageBitmap transfers work in cases that require serialization (Closed)
Patch Set: Created 4 years, 1 month 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 711c01f6e8db96aaff5055c13e6745430d9d3260..85f0f0dd9eb5ccce4ed86c365ebdee9c4745075d 100644
--- a/third_party/WebKit/Source/bindings/core/v8/SerializedScriptValue.h
+++ b/third_party/WebKit/Source/bindings/core/v8/SerializedScriptValue.h
@@ -123,6 +123,11 @@ class CORE_EXPORT SerializedScriptValue
const ArrayBufferArray&,
ExceptionState&);
+ static std::unique_ptr<ImageBitmapContentsArray> transferImageBitmapContents(
+ v8::Isolate*,
+ const ImageBitmapArray&,
+ ExceptionState&);
+
// Informs the V8 about external memory allocated and owned by this object.
// Large values should contribute to GC counters to eventually trigger a GC,
// otherwise flood of postMessage() can cause OOM.

Powered by Google App Engine
This is Rietveld 408576698