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

Unified Diff: third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.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/DrawingBuffer.h
diff --git a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h
index 16e778c1f44c1eeb9fa3e3b0720ee17a1eb2b19e..938c0c3b69880e217d1d0c90543b445f44d1b3a5 100644
--- a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h
+++ b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h
@@ -66,6 +66,7 @@ class ArrayBufferContents;
}
namespace blink {
+class CanvasColorParams;
class Extensions3DUtil;
class StaticBitmapImage;
class WebExternalTextureLayer;
@@ -121,7 +122,8 @@ class PLATFORM_EXPORT DrawingBuffer
bool want_antialiasing,
PreserveDrawingBuffer,
WebGLVersion,
- ChromiumImageUsage);
+ ChromiumImageUsage,
+ const CanvasColorParams&);
static void ForceNextDrawingBufferCreationToFail();
~DrawingBuffer() override;
@@ -241,7 +243,8 @@ class PLATFORM_EXPORT DrawingBuffer
WebGLVersion,
bool wants_depth,
bool wants_stencil,
- ChromiumImageUsage);
+ ChromiumImageUsage,
+ const CanvasColorParams&);
bool Initialize(const IntSize&, bool use_multisampling);

Powered by Google App Engine
This is Rietveld 408576698