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

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

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/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 2fe2f6f5fc84799c0bb05400f417a3636631bc65..91ee454b3f81ce2c10d41803e7ff29ab287488c1 100644
--- a/third_party/WebKit/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.h
+++ b/third_party/WebKit/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.h
@@ -48,8 +48,7 @@ class PLATFORM_EXPORT AcceleratedImageBufferSurface
public:
AcceleratedImageBufferSurface(const IntSize&,
OpacityMode = kNonOpaque,
- sk_sp<SkColorSpace> = nullptr,
- SkColorType = kN32_SkColorType);
+ const CanvasColorParams& = CanvasColorParams());
~AcceleratedImageBufferSurface() override {}
PaintCanvas* Canvas() override { return canvas_.get(); }

Powered by Google App Engine
This is Rietveld 408576698