Index: third_party/WebKit/Source/platform/graphics/filters/SourceGraphic.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/filters/SourceGraphic.cpp b/third_party/WebKit/Source/platform/graphics/filters/SourceGraphic.cpp |
index 5a867e720f1ac3df2d167d36898a59d275705739..2cc974d6e754159c77860a9d820afddb199e7753 100644 |
--- a/third_party/WebKit/Source/platform/graphics/filters/SourceGraphic.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/filters/SourceGraphic.cpp |
@@ -40,11 +40,9 @@ SourceGraphic* SourceGraphic::create(Filter* filter) |
return new SourceGraphic(filter); |
} |
-FloatRect SourceGraphic::determineAbsolutePaintRect(const FloatRect& requestedRect) |
+FloatRect SourceGraphic::determineAbsolutePaintRect(const FloatRect& requestedRect) const |
{ |
- FloatRect srcRect = intersection(m_sourceRect, requestedRect); |
- addAbsolutePaintRect(srcRect); |
- return srcRect; |
+ return intersection(m_sourceRect, requestedRect); |
} |
void SourceGraphic::setSourceRect(const IntRect& sourceRect) |