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

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

Issue 2884313002: color: Rename blink::ColorSpace to blink::InterpolationSpace (Closed)
Patch Set: Incorporate review feedback Created 3 years, 7 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/FEMorphology.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/filters/FEMorphology.cpp b/third_party/WebKit/Source/platform/graphics/filters/FEMorphology.cpp
index 2ad277e249874e40911c356baa7c0af51b42e6e7..d0112fd0644141f629fcb00d401350c1d1e6c2d1 100644
--- a/third_party/WebKit/Source/platform/graphics/filters/FEMorphology.cpp
+++ b/third_party/WebKit/Source/platform/graphics/filters/FEMorphology.cpp
@@ -90,8 +90,8 @@ FloatRect FEMorphology::MapEffect(const FloatRect& rect) const {
}
sk_sp<SkImageFilter> FEMorphology::CreateImageFilter() {
- sk_sp<SkImageFilter> input(
- SkiaImageFilterBuilder::Build(InputEffect(0), OperatingColorSpace()));
+ sk_sp<SkImageFilter> input(SkiaImageFilterBuilder::Build(
+ InputEffect(0), OperatingInterpolationSpace()));
int radius_x = clampTo<int>(GetFilter()->ApplyHorizontalScale(radius_x_));
int radius_y = clampTo<int>(GetFilter()->ApplyVerticalScale(radius_y_));
SkImageFilter::CropRect rect = GetCropRect();

Powered by Google App Engine
This is Rietveld 408576698