Index: third_party/WebKit/Source/platform/graphics/ImagePattern.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/ImagePattern.cpp b/third_party/WebKit/Source/platform/graphics/ImagePattern.cpp |
index 3f47f4f973ae4ac765d47eb656af818879e41122..2944ea1c3ea52a4d4103747efc3b1996cba83257 100644 |
--- a/third_party/WebKit/Source/platform/graphics/ImagePattern.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/ImagePattern.cpp |
@@ -22,7 +22,9 @@ ImagePattern::ImagePattern(PassRefPtr<Image> image, RepeatMode repeatMode) |
: Pattern(repeatMode) |
, m_tileImage(image->imageForCurrentFrame()) |
{ |
- m_previousLocalMatrix.setIdentity(); |
+ SkMatrix matrix; |
+ matrix.setIdentity(); |
Justin Novosad
2016/09/14 18:05:08
I don't understand what this is supposed to fix. T
|
+ m_previousLocalMatrix = matrix; |
if (m_tileImage) { |
// TODO(fmalita): mechanism to extract the actual SkImageInfo from an SkImage? |
const SkImageInfo info = SkImageInfo::MakeN32Premul( |