Commit c6abb98c authored by Peter Kasting's avatar Peter Kasting Committed by Commit Bot

Remove using directives ("using namespace x") from renderer/core/animation/.

Bug: 82078
Change-Id: Ic24ef9bcc5545ae06468a3c5a5912292ccb10988
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1867814
Auto-Submit: Peter Kasting <pkasting@chromium.org>
Commit-Queue: Majid Valipour <majidvp@chromium.org>
Reviewed-by: default avatarMajid Valipour <majidvp@chromium.org>
Cr-Commit-Position: refs/heads/master@{#707467}
parent cd0dfcf9
...@@ -103,7 +103,7 @@ CSSPaintImageGenerator* ProvideOverrideGenerator( ...@@ -103,7 +103,7 @@ CSSPaintImageGenerator* ProvideOverrideGenerator(
} }
} // namespace } // namespace
using namespace css_test_helpers; using css_test_helpers::RegisterProperty;
class AnimationCompositorAnimationsTest : public PaintTestConfigurations, class AnimationCompositorAnimationsTest : public PaintTestConfigurations,
public RenderingTest { public RenderingTest {
......
...@@ -18,8 +18,6 @@ ...@@ -18,8 +18,6 @@
namespace blink { namespace blink {
using namespace cssvalue;
enum InterpolableColorIndex : unsigned { enum InterpolableColorIndex : unsigned {
kRed, kRed,
kGreen, kGreen,
...@@ -88,7 +86,7 @@ CSSColorInterpolationType::CreateInterpolableColor(const StyleColor& color) { ...@@ -88,7 +86,7 @@ CSSColorInterpolationType::CreateInterpolableColor(const StyleColor& color) {
std::unique_ptr<InterpolableValue> std::unique_ptr<InterpolableValue>
CSSColorInterpolationType::MaybeCreateInterpolableColor(const CSSValue& value) { CSSColorInterpolationType::MaybeCreateInterpolableColor(const CSSValue& value) {
if (auto* color_value = DynamicTo<CSSColorValue>(value)) if (auto* color_value = DynamicTo<cssvalue::CSSColorValue>(value))
return CreateInterpolableColor(color_value->Value()); return CreateInterpolableColor(color_value->Value());
auto* identifier_value = DynamicTo<CSSIdentifierValue>(value); auto* identifier_value = DynamicTo<CSSIdentifierValue>(value);
if (!identifier_value) if (!identifier_value)
...@@ -296,7 +294,7 @@ const CSSValue* CSSColorInterpolationType::CreateCSSValue( ...@@ -296,7 +294,7 @@ const CSSValue* CSSColorInterpolationType::CreateCSSValue(
const StyleResolverState& state) const { const StyleResolverState& state) const {
const InterpolableList& color_pair = ToInterpolableList(interpolable_value); const InterpolableList& color_pair = ToInterpolableList(interpolable_value);
Color color = ResolveInterpolableColor(*color_pair.Get(kUnvisited), state); Color color = ResolveInterpolableColor(*color_pair.Get(kUnvisited), state);
return CSSColorValue::Create(color.Rgb()); return cssvalue::CSSColorValue::Create(color.Rgb());
} }
void CSSColorInterpolationType::Composite( void CSSColorInterpolationType::Composite(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment