| 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 771219507b7f2ebed8f314f7ed7f67cd9ab77a24..b29be4df2562f67099e7aa9968280a82a549d3fe 100644
|
| --- a/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.cpp
|
| +++ b/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.cpp
|
| @@ -58,7 +58,7 @@ ImageBitmap* OffscreenCanvas::transferToImageBitmap(ExceptionState& exceptionSta
|
| return image;
|
| }
|
|
|
| -CanvasRenderingContext* OffscreenCanvas::getCanvasRenderingContext(const String& id, const CanvasContextCreationAttributes& attributes)
|
| +CanvasRenderingContext* OffscreenCanvas::getCanvasRenderingContext(ScriptState* scriptState, const String& id, const CanvasContextCreationAttributes& attributes)
|
| {
|
| CanvasRenderingContext::ContextType contextType = CanvasRenderingContext::contextTypeFromId(id);
|
|
|
| @@ -76,7 +76,7 @@ CanvasRenderingContext* OffscreenCanvas::getCanvasRenderingContext(const String&
|
| return nullptr;
|
| }
|
| } else {
|
| - m_context = factory->create(this, attributes);
|
| + m_context = factory->create(scriptState, this, attributes);
|
| }
|
|
|
| return m_context.get();
|
|
|