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

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp

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/modules/webgl/WebGLRenderingContextBase.cpp
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
index bfbd9eafc0cb7b42657e30190bfafef065cbe1b2..8216a1f9c3e67aaa55099488be78d5e2cecb3f97 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
@@ -1132,11 +1132,11 @@ PassRefPtr<DrawingBuffer> WebGLRenderingContextBase::CreateDrawingBuffer(
} else {
NOTREACHED();
}
- return DrawingBuffer::Create(std::move(context_provider), this,
- ClampedCanvasSize(), premultiplied_alpha,
- want_alpha_channel, want_depth_buffer,
- want_stencil_buffer, want_antialiasing, preserve,
- web_gl_version, chromium_image_usage);
+ return DrawingBuffer::Create(
+ std::move(context_provider), this, ClampedCanvasSize(),
+ premultiplied_alpha, want_alpha_channel, want_depth_buffer,
+ want_stencil_buffer, want_antialiasing, preserve, web_gl_version,
+ chromium_image_usage, color_params());
}
void WebGLRenderingContextBase::InitializeNewContext() {

Powered by Google App Engine
This is Rietveld 408576698