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

Unified Diff: third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.cpp

Issue 2893243003: color: Add ColorCanvasExtensions runtime flag (Closed)
Patch Set: Fix logic error in ImageBitmap Created 3 years, 7 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/canvas2d/CanvasRenderingContext2D.cpp
diff --git a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.cpp b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.cpp
index 0f4f5478db3d30dd078d04a8ca5479390e2721d8..a06dd680f3a05117108f7762f1636e8ffcee884d 100644
--- a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.cpp
+++ b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.cpp
@@ -291,10 +291,6 @@ CanvasPixelFormat CanvasRenderingContext2D::PixelFormat() const {
return color_params().pixel_format();
}
-ColorBehavior CanvasRenderingContext2D::DrawImageColorBehavior() const {
- return CanvasRenderingContext::ColorBehaviorForMediaDrawnToCanvas();
-}
-
void CanvasRenderingContext2D::Reset() {
// This is a multiple inherritance bootstrap
BaseRenderingContext2D::Reset();

Powered by Google App Engine
This is Rietveld 408576698