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

Unified Diff: third_party/WebKit/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.h

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/platform/graphics/gpu/AcceleratedImageBufferSurface.h
diff --git a/third_party/WebKit/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.h b/third_party/WebKit/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.h
index ab041b23a2dc2c3bdd0a7a6b4452d75e1d21bc8b..c6df647c51e22349717739a4943bd61633c0792a 100644
--- a/third_party/WebKit/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.h
+++ b/third_party/WebKit/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.h
@@ -47,7 +47,8 @@ class PLATFORM_EXPORT AcceleratedImageBufferSurface
public:
AcceleratedImageBufferSurface(const IntSize&,
OpacityMode = NonOpaque,
- sk_sp<SkColorSpace> = nullptr);
+ sk_sp<SkColorSpace> = nullptr,
+ SkColorType = kN32_SkColorType);
~AcceleratedImageBufferSurface() override {}
SkCanvas* canvas() override {

Powered by Google App Engine
This is Rietveld 408576698