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

Unified Diff: third_party/WebKit/Source/platform/graphics/ImageBuffer.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/ImageBuffer.h
diff --git a/third_party/WebKit/Source/platform/graphics/ImageBuffer.h b/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
index 4f358baf8b488d696e479af1382ee7c8349e1446..203a09f8fb4ab464a66ea634a28b226ca57b17e5 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
+++ b/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
@@ -78,7 +78,7 @@ class PLATFORM_EXPORT ImageBuffer {
const IntSize&,
OpacityMode = kNonOpaque,
ImageInitializationMode = kInitializeImagePixels,
- sk_sp<SkColorSpace> = nullptr);
+ const CanvasColorParams& = CanvasColorParams());
static std::unique_ptr<ImageBuffer> Create(
std::unique_ptr<ImageBufferSurface>);

Powered by Google App Engine
This is Rietveld 408576698