Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(414)

Unified Diff: third_party/WebKit/Source/core/html/canvas/CanvasFontCacheTest.cpp

Issue 1387743002: Fixed expando-loss.html test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cache ScriptState and use it to wrap m_defaultVertexArrayObject. Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
}

Powered by Google App Engine
This is Rietveld 408576698