| Index: third_party/WebKit/Source/core/dom/Document.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
|
| index 15359a4fb8625690534dc216358b3b89c4b013b6..f9346f2abd91766c55c725be631abae8acff50b6 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Document.cpp
|
| @@ -4906,7 +4906,7 @@ ScriptValue Document::getCSSCanvasContext(ScriptState* scriptState, const String
|
| {
|
| HTMLCanvasElement& element = getCSSCanvasElement(name);
|
| element.setSize(IntSize(width, height));
|
| - CanvasRenderingContext* context = element.getCanvasRenderingContext(type, CanvasContextCreationAttributes());
|
| + CanvasRenderingContext* context = element.getCanvasRenderingContext(scriptState, type, CanvasContextCreationAttributes());
|
| if (!context) {
|
| return ScriptValue::createNull(scriptState);
|
| }
|
|
|