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

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

Issue 416093002: Use GraphicContext::drawImageBuffer in FEBlend (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Some rebaselines. Created 6 years, 5 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/platform/graphics/GraphicsContext.cpp
diff --git a/Source/platform/graphics/GraphicsContext.cpp b/Source/platform/graphics/GraphicsContext.cpp
index c3ff6fbec7bf687b2412efceddd52dfe3533ada3..d8ec8f874395ec6fc15949de29a69924ac8ea29f 100644
--- a/Source/platform/graphics/GraphicsContext.cpp
+++ b/Source/platform/graphics/GraphicsContext.cpp
@@ -1044,12 +1044,12 @@ void GraphicsContext::drawTiledImage(Image* image, const IntRect& dest, const In
}
void GraphicsContext::drawImageBuffer(ImageBuffer* image, const FloatRect& dest,
- const FloatRect* src, CompositeOperator op)
+ const FloatRect* src, CompositeOperator op, WebBlendMode blendMode)
{
if (contextDisabled() || !image)
return;
- image->draw(this, dest, src, op);
+ image->draw(this, dest, src, op, blendMode);
}
void GraphicsContext::drawPicture(PassRefPtr<SkPicture> picture, const FloatRect& dest, const FloatRect& src, CompositeOperator op, WebBlendMode blendMode)

Powered by Google App Engine
This is Rietveld 408576698