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

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

Issue 2425113002: Fix the linear-rgb canvas color space so that it renders (Closed)
Patch Set: Created 4 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/paint/HTMLCanvasPainterTest.cpp
diff --git a/third_party/WebKit/Source/core/paint/HTMLCanvasPainterTest.cpp b/third_party/WebKit/Source/core/paint/HTMLCanvasPainterTest.cpp
index a93cc279fc5b913f8acca9d9d6e1030aa680b8ca..543000b60f520ff5d65341ee01dc1bc3d79ec0d2 100644
--- a/third_party/WebKit/Source/core/paint/HTMLCanvasPainterTest.cpp
+++ b/third_party/WebKit/Source/core/paint/HTMLCanvasPainterTest.cpp
@@ -52,7 +52,8 @@ class HTMLCanvasPainterTestForSPv2 : public ::testing::Test {
PassRefPtr<Canvas2DLayerBridge> makeCanvas2DLayerBridge(const IntSize& size) {
return adoptRef(new Canvas2DLayerBridge(
wrapUnique(new FakeWebGraphicsContext3DProvider(&m_gl)), size, 0,
- NonOpaque, Canvas2DLayerBridge::ForceAccelerationForTesting, nullptr));
+ NonOpaque, Canvas2DLayerBridge::ForceAccelerationForTesting, nullptr,
+ kN32_SkColorType));
}
private:

Powered by Google App Engine
This is Rietveld 408576698