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

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

Issue 1681553002: Add support for 'href' (w/o XLink NS) for various SVG elements (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase; update comment Created 4 years, 10 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/PropertyInterpolationTypesMapping.cpp
diff --git a/third_party/WebKit/Source/core/animation/PropertyInterpolationTypesMapping.cpp b/third_party/WebKit/Source/core/animation/PropertyInterpolationTypesMapping.cpp
index 4cf12c7249e2452e05762b4835c67506aa291bb9..f0d423c34e573694b50f3c521405137196ceda88 100644
--- a/third_party/WebKit/Source/core/animation/PropertyInterpolationTypesMapping.cpp
+++ b/third_party/WebKit/Source/core/animation/PropertyInterpolationTypesMapping.cpp
@@ -5,7 +5,6 @@
#include "core/animation/PropertyInterpolationTypesMapping.h"
#include "core/HTMLNames.h"
-#include "core/XLinkNames.h"
#include "core/animation/CSSColorInterpolationType.h"
#include "core/animation/CSSFontWeightInterpolationType.h"
#include "core/animation/CSSImageInterpolationType.h"
@@ -266,6 +265,7 @@ const InterpolationTypes* PropertyInterpolationTypesMapping::get(const PropertyH
|| attribute == SVGNames::edgeModeAttr
|| attribute == SVGNames::filterUnitsAttr
|| attribute == SVGNames::gradientUnitsAttr
+ || attribute == SVGNames::hrefAttr
|| attribute == SVGNames::inAttr
|| attribute == SVGNames::in2Attr
|| attribute == SVGNames::lengthAdjustAttr
@@ -287,8 +287,7 @@ const InterpolationTypes* PropertyInterpolationTypesMapping::get(const PropertyH
|| attribute == SVGNames::targetAttr
|| attribute == SVGNames::typeAttr
|| attribute == SVGNames::xChannelSelectorAttr
- || attribute == SVGNames::yChannelSelectorAttr
- || attribute == XLinkNames::hrefAttr) {
+ || attribute == SVGNames::yChannelSelectorAttr) {
// Use default SVGValueInterpolationType.
} else {
fallbackToLegacy = true;
« no previous file with comments | « third_party/WebKit/Source/core/animation/AnimationInputHelpers.cpp ('k') | third_party/WebKit/Source/core/core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698