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

Unified Diff: third_party/WebKit/Source/platform/graphics/filters/SkiaImageFilterBuilder.h

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/SkiaImageFilterBuilder.h
diff --git a/third_party/WebKit/Source/platform/graphics/filters/SkiaImageFilterBuilder.h b/third_party/WebKit/Source/platform/graphics/filters/SkiaImageFilterBuilder.h
index c158e15deccfebc78117623ea5972ecd8b81ff7c..6e0e6f462cedeee70c9af486fc8fd71a33392ad1 100644
--- a/third_party/WebKit/Source/platform/graphics/filters/SkiaImageFilterBuilder.h
+++ b/third_party/WebKit/Source/platform/graphics/filters/SkiaImageFilterBuilder.h
@@ -27,7 +27,7 @@
#define SkiaImageFilterBuilder_h
#include "platform/PlatformExport.h"
-#include "platform/graphics/ColorSpace.h"
+#include "platform/graphics/InterpolationSpace.h"
#include "platform/graphics/paint/PaintRecord.h"
#include "third_party/skia/include/core/SkRefCnt.h"
@@ -40,18 +40,20 @@ class FilterEffect;
namespace SkiaImageFilterBuilder {
-PLATFORM_EXPORT sk_sp<SkImageFilter>
-Build(FilterEffect*, ColorSpace, bool requires_pm_color_validation = true);
+PLATFORM_EXPORT sk_sp<SkImageFilter> Build(
+ FilterEffect*,
+ InterpolationSpace,
+ bool requires_pm_color_validation = true);
-PLATFORM_EXPORT sk_sp<SkImageFilter> TransformColorSpace(
+PLATFORM_EXPORT sk_sp<SkImageFilter> TransformInterpolationSpace(
sk_sp<SkImageFilter> input,
- ColorSpace src_color_space,
- ColorSpace dst_color_space);
+ InterpolationSpace src_interpolation_space,
+ InterpolationSpace dst_interpolation_space);
PLATFORM_EXPORT void PopulateSourceGraphicImageFilters(
FilterEffect* source_graphic,
sk_sp<SkImageFilter> input,
- ColorSpace input_color_space);
+ InterpolationSpace input_interpolation_space);
PLATFORM_EXPORT void BuildSourceGraphic(FilterEffect*, sk_sp<PaintRecord>);
PLATFORM_EXPORT sk_sp<SkImageFilter> BuildBoxReflectFilter(

Powered by Google App Engine
This is Rietveld 408576698