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

Unified Diff: Source/core/platform/graphics/filters/FETurbulence.cpp

Issue 83623002: Svg filter feTurbulence with some specific parameters does not display. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/graphics/filters/FETurbulence.cpp
diff --git a/Source/core/platform/graphics/filters/FETurbulence.cpp b/Source/core/platform/graphics/filters/FETurbulence.cpp
index 4e244e2bd6b32fb9ce0b7a644c5bb042386ac0ca..3a0801315204217a4c5b7e519c96b4978a629094 100644
--- a/Source/core/platform/graphics/filters/FETurbulence.cpp
+++ b/Source/core/platform/graphics/filters/FETurbulence.cpp
@@ -428,7 +428,7 @@ bool FETurbulence::applySkia()
if (!resultImage)
return false;
- const IntRect filterRegion = absolutePaintRect();
+ const IntRect filterRegion(IntPoint::zero(), absolutePaintRect().size());
SkPaint paint;
paint.setShader(createShader(filterRegion))->unref();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698