Index: third_party/WebKit/Source/core/svg/SVGAnimatedString.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGAnimatedString.cpp b/third_party/WebKit/Source/core/svg/SVGAnimatedString.cpp |
index b3c2053e4cd1955411193b64c62adb95e802e7ae..84787c20a20a70a875809eb6267aea0326082c5e 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGAnimatedString.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGAnimatedString.cpp |
@@ -4,30 +4,20 @@ |
#include "core/svg/SVGAnimatedString.h" |
-#include "core/XLinkNames.h" |
-#include "core/frame/UseCounter.h" |
-#include "core/svg/SVGElement.h" |
- |
namespace blink { |
String SVGAnimatedString::baseVal() |
{ |
- if (this->attributeName() == XLinkNames::hrefAttr) |
- UseCounter::count(this->contextElement()->document(), UseCounter::SVGHrefBaseVal); |
return SVGAnimatedProperty<SVGString>::baseVal(); |
} |
-void SVGAnimatedString::setBaseVal(String value, ExceptionState& exceptionState) |
+void SVGAnimatedString::setBaseVal(const String& value, ExceptionState& exceptionState) |
{ |
- if (this->attributeName() == XLinkNames::hrefAttr) |
- UseCounter::count(this->contextElement()->document(), UseCounter::SVGHrefBaseVal); |
return SVGAnimatedProperty<SVGString>::setBaseVal(value, exceptionState); |
} |
String SVGAnimatedString::animVal() |
{ |
- if (this->attributeName() == XLinkNames::hrefAttr) |
- UseCounter::count(this->contextElement()->document(), UseCounter::SVGHrefAnimVal); |
return SVGAnimatedProperty<SVGString>::animVal(); |
} |