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

Unified Diff: third_party/WebKit/Source/platform/graphics/filters/FEGaussianBlur.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/FEGaussianBlur.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/filters/FEGaussianBlur.cpp b/third_party/WebKit/Source/platform/graphics/filters/FEGaussianBlur.cpp
index 9a6ad058ce2d40163d645e82d02999482b7cf3c4..fd0a3a1bea7df0f605d82bf05f1f5ccd3ce7192a 100644
--- a/third_party/WebKit/Source/platform/graphics/filters/FEGaussianBlur.cpp
+++ b/third_party/WebKit/Source/platform/graphics/filters/FEGaussianBlur.cpp
@@ -80,7 +80,7 @@ IntSize FEGaussianBlur::calculateKernelSize(Filter* filter, const FloatPoint& st
FloatRect FEGaussianBlur::mapRect(const FloatRect& rect, bool)
{
FloatRect result = rect;
- IntSize kernelSize = calculateKernelSize(filter(), FloatPoint(m_stdX, m_stdY));
+ IntSize kernelSize = calculateKernelSize(getFilter(), FloatPoint(m_stdX, m_stdY));
// We take the half kernel size and multiply it with three, because we run box blur three times.
result.inflateX(3 * kernelSize.width() * 0.5f);
@@ -111,8 +111,8 @@ FloatRect FEGaussianBlur::determineAbsolutePaintRect(const FloatRect& originalRe
PassRefPtr<SkImageFilter> FEGaussianBlur::createImageFilter(SkiaImageFilterBuilder& builder)
{
RefPtr<SkImageFilter> input(builder.build(inputEffect(0), operatingColorSpace()));
- float stdX = filter()->applyHorizontalScale(m_stdX);
- float stdY = filter()->applyVerticalScale(m_stdY);
+ float stdX = getFilter()->applyHorizontalScale(m_stdX);
+ float stdY = getFilter()->applyVerticalScale(m_stdY);
SkImageFilter::CropRect rect = getCropRect();
return adoptRef(SkBlurImageFilter::Create(SkFloatToScalar(stdX), SkFloatToScalar(stdY), input.get(), &rect));
}

Powered by Google App Engine
This is Rietveld 408576698