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

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

Issue 2660393002: Use gfx::ColorSpace instead of SkColorSpace in Blink (Closed)
Patch Set: Rebase (again) Created 3 years, 11 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 6e55a791e58ee248a0999075a1dccf7cf12f6a2b..a15033470d7c374197970912298a021e3fd618c4 100644
--- a/third_party/WebKit/Source/core/paint/HTMLCanvasPainterTest.cpp
+++ b/third_party/WebKit/Source/core/paint/HTMLCanvasPainterTest.cpp
@@ -58,8 +58,8 @@ class HTMLCanvasPainterTestForSPv2 : public ::testing::Test,
PassRefPtr<Canvas2DLayerBridge> makeCanvas2DLayerBridge(const IntSize& size) {
return adoptRef(new Canvas2DLayerBridge(
WTF::wrapUnique(new FakeWebGraphicsContext3DProvider(&m_gl)), size, 0,
- NonOpaque, Canvas2DLayerBridge::ForceAccelerationForTesting, nullptr,
- kN32_SkColorType));
+ NonOpaque, Canvas2DLayerBridge::ForceAccelerationForTesting,
+ gfx::ColorSpace::CreateSRGB(), false, kN32_SkColorType));
}
private:

Powered by Google App Engine
This is Rietveld 408576698