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

Unified Diff: Source/core/svg/graphics/SVGImage.cpp

Issue 23643003: ImageBuffer-less SVG masking and clipping. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated per review comments. Created 7 years, 4 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/svg/graphics/SVGImage.cpp
diff --git a/Source/core/svg/graphics/SVGImage.cpp b/Source/core/svg/graphics/SVGImage.cpp
index 395f2db1e4c341aa3724ec4a8f3824d2a4620042..6c3f3783d0d6137ba97716c8cebad986a0680339 100644
--- a/Source/core/svg/graphics/SVGImage.cpp
+++ b/Source/core/svg/graphics/SVGImage.cpp
@@ -266,7 +266,7 @@ void SVGImage::draw(GraphicsContext* context, const FloatRect& dstRect, const Fl
view->paint(context, enclosingIntRect(srcRect));
if (compositeOp != CompositeSourceOver)
- context->endTransparencyLayer();
+ context->endLayer();
stateSaver.restore();

Powered by Google App Engine
This is Rietveld 408576698