Chromium Code Reviews| Index: third_party/WebKit/Source/core/html/canvas/CanvasFontCacheTest.cpp |
| diff --git a/third_party/WebKit/Source/core/html/canvas/CanvasFontCacheTest.cpp b/third_party/WebKit/Source/core/html/canvas/CanvasFontCacheTest.cpp |
| index abd099405e6475310e0a5c10a3ec2f26d691b21b..88e0f5999570aa6f0cca60ee3bf211369827b0e5 100644 |
| --- a/third_party/WebKit/Source/core/html/canvas/CanvasFontCacheTest.cpp |
| +++ b/third_party/WebKit/Source/core/html/canvas/CanvasFontCacheTest.cpp |
| @@ -61,7 +61,7 @@ void CanvasFontCacheTest::SetUp() |
| String canvasType("2d"); |
| CanvasContextCreationAttributes attributes; |
| attributes.setAlpha(true); |
| - m_canvasElement->getCanvasRenderingContext(canvasType, attributes); |
| + m_canvasElement->getCanvasRenderingContext(nullptr, canvasType, attributes); |
|
haraken
2015/10/13 02:02:04
Consider using V8TestingScope.
|
| context2d(); // Calling this for the checks |
| } |