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

Unified Diff: Source/core/html/canvas/CanvasRenderingContext2D.cpp

Issue 840733004: Replace setCompositeOperation(CompositeOperator, WebBlendMode) with setCompositeOperation(SkXfermod… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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: Source/core/html/canvas/CanvasRenderingContext2D.cpp
diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.cpp b/Source/core/html/canvas/CanvasRenderingContext2D.cpp
index 104d5f972556ae2dfda507a9acbb4b6453590fe0..7a807074280989468a676394d4216d2bc90e94fa 100644
--- a/Source/core/html/canvas/CanvasRenderingContext2D.cpp
+++ b/Source/core/html/canvas/CanvasRenderingContext2D.cpp
@@ -1452,7 +1452,7 @@ static void drawVideo(GraphicsContext* c, CanvasImageSource* imageSource, FloatR
static void drawImageOnContext(GraphicsContext* c, CanvasImageSource* imageSource, Image* image, const FloatRect& srcRect, const FloatRect& dstRect)
{
if (!imageSource->isVideoElement()) {
- c->drawImage(image, dstRect, srcRect, c->compositeOperation(), c->blendModeOperation());
+ c->drawImage(image, dstRect, srcRect, c->compositeOperator(), c->blendModeOperation());
} else {
drawVideo(c, static_cast<HTMLVideoElement*>(imageSource), srcRect, dstRect);
}

Powered by Google App Engine
This is Rietveld 408576698