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

Unified Diff: third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.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/UnacceleratedImageBufferSurface.h
diff --git a/third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.h b/third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.h
index 5db5e6847f464bb227b0c98b4df80fac33d76638..9e1f58fb39eb9c7cb9f962728737dc12d1ef8e7b 100644
--- a/third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.h
+++ b/third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.h
@@ -48,7 +48,8 @@ class PLATFORM_EXPORT UnacceleratedImageBufferSurface
const IntSize&,
OpacityMode = NonOpaque,
ImageInitializationMode = InitializeImagePixels,
- sk_sp<SkColorSpace> = nullptr);
+ sk_sp<SkColorSpace> = nullptr,
+ SkColorType = kN32_SkColorType);
~UnacceleratedImageBufferSurface() override;
SkCanvas* canvas() override;

Powered by Google App Engine
This is Rietveld 408576698