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

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

Issue 1774943003: blink: Rename platform/ methods to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-platform: rebase-yayyyyyyyy Created 4 years, 9 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: third_party/WebKit/Source/platform/graphics/filters/FilterEffect.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/filters/FilterEffect.cpp b/third_party/WebKit/Source/platform/graphics/filters/FilterEffect.cpp
index 344dd0c37d4a259198f1f4b6a7d3371766cca174..ef5e9ab8aa78717740d6f1cc0f55448563c47e87 100644
--- a/third_party/WebKit/Source/platform/graphics/filters/FilterEffect.cpp
+++ b/third_party/WebKit/Source/platform/graphics/filters/FilterEffect.cpp
@@ -150,7 +150,7 @@ FloatRect FilterEffect::applyEffectBoundaries(const FloatRect& rect) const
FloatRect FilterEffect::determineFilterPrimitiveSubregion(DetermineSubregionFlags flags)
{
- Filter* filter = this->filter();
+ Filter* filter = this->getFilter();
ASSERT(filter);
// FETile, FETurbulence, FEFlood don't have input effects, take the filter region as unite rect.
@@ -219,14 +219,14 @@ SkImageFilter::CropRect FilterEffect::getCropRect() const
{
FloatRect rect;
uint32_t flags = 0;
- if (!hasConnectedInput() && !filter()->filterRegion().isEmpty()) {
- rect = filter()->filterRegion();
+ if (!hasConnectedInput() && !getFilter()->filterRegion().isEmpty()) {
+ rect = getFilter()->filterRegion();
flags = SkImageFilter::CropRect::kHasAll_CropEdge;
}
rect = applyEffectBoundaries(rect);
- rect.scale(filter()->scale());
+ rect.scale(getFilter()->scale());
flags |= hasX() ? SkImageFilter::CropRect::kHasLeft_CropEdge : 0;
flags |= hasY() ? SkImageFilter::CropRect::kHasTop_CropEdge : 0;

Powered by Google App Engine
This is Rietveld 408576698