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

Unified Diff: third_party/WebKit/Source/core/paint/HTMLCanvasPainterTest.cpp

Issue 2825183002: Plumb CanvasColorParams to canvas image classes (Closed)
Patch Set: Require both runtime flags Created 3 years, 8 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/paint/HTMLCanvasPainterTest.cpp
diff --git a/third_party/WebKit/Source/core/paint/HTMLCanvasPainterTest.cpp b/third_party/WebKit/Source/core/paint/HTMLCanvasPainterTest.cpp
index fdb79930a2de863f1e27c3935e20ed318cd0c123..f0fae6b567b4a2e22d208132258410b9b44a0ad7 100644
--- a/third_party/WebKit/Source/core/paint/HTMLCanvasPainterTest.cpp
+++ b/third_party/WebKit/Source/core/paint/HTMLCanvasPainterTest.cpp
@@ -59,7 +59,7 @@ class HTMLCanvasPainterTestForSPv2 : public ::testing::Test,
return AdoptRef(new Canvas2DLayerBridge(
WTF::WrapUnique(new FakeWebGraphicsContext3DProvider(&gl_)), size, 0,
kNonOpaque, Canvas2DLayerBridge::kForceAccelerationForTesting,
- gfx::ColorSpace::CreateSRGB(), false, kN32_SkColorType));
+ CanvasColorParams()));
}
private:

Powered by Google App Engine
This is Rietveld 408576698