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

Unified Diff: third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.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/core/svg/graphics/filters/SVGFEImage.cpp
diff --git a/third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp b/third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp
index 3991102ee337974cf57b50822d6a44b9880145d1..4e285a751d7766525542fe3e00949b57ce1a04e2 100644
--- a/third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp
+++ b/third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp
@@ -48,7 +48,7 @@ FEImage::FEImage(Filter* filter,
image_(std::move(image)),
tree_scope_(nullptr),
preserve_aspect_ratio_(preserve_aspect_ratio) {
- FilterEffect::SetOperatingColorSpace(kColorSpaceDeviceRGB);
+ FilterEffect::SetOperatingInterpolationSpace(kInterpolationSpaceSRGB);
}
FEImage::FEImage(Filter* filter,
@@ -59,7 +59,7 @@ FEImage::FEImage(Filter* filter,
tree_scope_(&tree_scope),
href_(href),
preserve_aspect_ratio_(preserve_aspect_ratio) {
- FilterEffect::SetOperatingColorSpace(kColorSpaceDeviceRGB);
+ FilterEffect::SetOperatingInterpolationSpace(kInterpolationSpaceSRGB);
}
DEFINE_TRACE(FEImage) {

Powered by Google App Engine
This is Rietveld 408576698