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

Unified Diff: third_party/WebKit/Source/core/svg/SVGFilterPrimitiveStandardAttributes.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/SVGFilterPrimitiveStandardAttributes.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp b/third_party/WebKit/Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp
index 9af5a7231c8809b1214b767b46bdffe68ea7e1ed..bb0bd07fecfe36a5e8a1339a467249e036a96d0d 100644
--- a/third_party/WebKit/Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp
@@ -83,11 +83,11 @@ bool SVGFilterPrimitiveStandardAttributes::SetFilterEffectAttribute(
DCHECK(GetLayoutObject());
EColorInterpolation color_interpolation =
GetLayoutObject()->StyleRef().SvgStyle().ColorInterpolationFilters();
- ColorSpace resolved_color_space =
- SVGFilterBuilder::ResolveColorSpace(color_interpolation);
- if (resolved_color_space == effect->OperatingColorSpace())
+ InterpolationSpace resolved_interpolation_space =
+ SVGFilterBuilder::ResolveInterpolationSpace(color_interpolation);
+ if (resolved_interpolation_space == effect->OperatingInterpolationSpace())
return false;
- effect->SetOperatingColorSpace(resolved_color_space);
+ effect->SetOperatingInterpolationSpace(resolved_interpolation_space);
return true;
}

Powered by Google App Engine
This is Rietveld 408576698