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

Unified Diff: Source/core/platform/graphics/GraphicsContext.cpp

Issue 14679003: Add canvas blending modes behind a runtime flag (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: refreshed patch Created 7 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: Source/core/platform/graphics/GraphicsContext.cpp
diff --git a/Source/core/platform/graphics/GraphicsContext.cpp b/Source/core/platform/graphics/GraphicsContext.cpp
index 4ba40f3b0332454bc62b71babe4c89e0e771e38a..b0d0653c78c10f1e44e3be732776ff42a9b1ae96 100644
--- a/Source/core/platform/graphics/GraphicsContext.cpp
+++ b/Source/core/platform/graphics/GraphicsContext.cpp
@@ -1817,7 +1817,7 @@ void GraphicsContext::setCompositeOperation(CompositeOperator compositeOperation
if (paintingDisabled())
return;
- m_skiaState->m_xferMode = WebCoreCompositeToSkiaComposite(compositeOperation);
+ m_skiaState->m_xferMode = WebCoreCompositeToSkiaComposite(compositeOperation, blendMode);
}
CompositeOperator GraphicsContext::compositeOperation() const

Powered by Google App Engine
This is Rietveld 408576698