Index: third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DAPITest.cpp |
diff --git a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DAPITest.cpp b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DAPITest.cpp |
index 48eeb0c2ff23f861597c0939dc803a738f35cb9c..07ce378dc7c9873e26d1a58ede7eab9d7e38af89 100644 |
--- a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DAPITest.cpp |
+++ b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DAPITest.cpp |
@@ -62,7 +62,7 @@ void CanvasRenderingContext2DAPITest::createContext(OpacityMode opacityMode) |
String canvasType("2d"); |
CanvasContextCreationAttributes attributes; |
attributes.setAlpha(opacityMode == NonOpaque); |
- m_canvasElement->getCanvasRenderingContext(canvasType, attributes); |
+ m_canvasElement->getCanvasRenderingContext(nullptr, canvasType, attributes); |
haraken
2015/10/13 02:02:04
Ditto.
|
context2d(); // Calling this for the checks |
} |
@@ -250,7 +250,7 @@ void resetCanvasForAccessibilityRectTest(HTMLDocument& document) |
String canvasType("2d"); |
CanvasContextCreationAttributes attributes; |
attributes.setAlpha(true); |
- canvas->getCanvasRenderingContext(canvasType, attributes); |
+ canvas->getCanvasRenderingContext(nullptr, canvasType, attributes); |
EXPECT_NE(nullptr, canvas->renderingContext()); |
EXPECT_TRUE(canvas->renderingContext()->is2d()); |