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

Unified Diff: third_party/WebKit/Source/core/animation/NumberSVGInterpolation.cpp

Issue 1607633003: Code cleanup: Remove SVGInterpolation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unused assertion variable to make release compile Created 4 years, 11 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/animation/NumberSVGInterpolation.cpp
diff --git a/third_party/WebKit/Source/core/animation/NumberSVGInterpolation.cpp b/third_party/WebKit/Source/core/animation/NumberSVGInterpolation.cpp
deleted file mode 100644
index 34f9833420c72fe25a5fbb3a79df7683ce4d2012..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/core/animation/NumberSVGInterpolation.cpp
+++ /dev/null
@@ -1,17 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "core/animation/NumberSVGInterpolation.h"
-
-namespace blink {
-
-PassRefPtrWillBeRawPtr<SVGNumber> NumberSVGInterpolation::fromInterpolableValue(const InterpolableValue& value, SVGNumberNegativeValuesMode negativeValuesMode)
-{
- double doubleValue = toInterpolableNumber(value).value();
- if (negativeValuesMode == ForbidNegativeNumbers && doubleValue < 0)
- doubleValue = 0;
- return SVGNumber::create(doubleValue);
-}
-
-}

Powered by Google App Engine
This is Rietveld 408576698