| Index: third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.cpp
|
| diff --git a/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.cpp b/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.cpp
|
| index fda130f3a08a7a8c2b96c1a21574dd6cca2d391f..dd349c5992f4626c9653f1820fb09b272c0ed875 100644
|
| --- a/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.cpp
|
| +++ b/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.cpp
|
| @@ -63,6 +63,7 @@ void OffscreenCanvas::setNeutered() {
|
| }
|
|
|
| ImageBitmap* OffscreenCanvas::transferToImageBitmap(
|
| + ScriptState* scriptState,
|
| ExceptionState& exceptionState) {
|
| if (m_isNeutered) {
|
| exceptionState.throwDOMException(
|
| @@ -76,7 +77,7 @@ ImageBitmap* OffscreenCanvas::transferToImageBitmap(
|
| "OffscreenCanvas with no context");
|
| return nullptr;
|
| }
|
| - ImageBitmap* image = m_context->transferToImageBitmap();
|
| + ImageBitmap* image = m_context->transferToImageBitmap(scriptState);
|
| if (!image) {
|
| // Undocumented exception (not in spec)
|
| exceptionState.throwDOMException(V8Error, "Out of memory");
|
|
|