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

Unified Diff: third_party/WebKit/Source/platform/graphics/filters/SourceGraphic.cpp

Issue 2329803002: Drop FilterEffect::m_absolutePaintRect (Closed)
Patch Set: Add comment Created 4 years, 3 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
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/filters/SourceGraphic.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/filters/SourceGraphic.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698