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

Unified Diff: third_party/WebKit/Source/core/svg/SVGDiscardElement.cpp

Issue 2408913002: Push hasValidAttributeName/Type down into SVGAnimateElement (Closed)
Patch Set: Created 4 years, 2 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/SVGDiscardElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGDiscardElement.cpp b/third_party/WebKit/Source/core/svg/SVGDiscardElement.cpp
index 54bb4f177a0347070c8cbd515665af1e5403b034..30a152d780078ae1588c9f17c7e123e85df92c95 100644
--- a/third_party/WebKit/Source/core/svg/SVGDiscardElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGDiscardElement.cpp
@@ -41,15 +41,4 @@ inline SVGDiscardElement::SVGDiscardElement(Document& document)
DEFINE_NODE_FACTORY(SVGDiscardElement)
-bool SVGDiscardElement::hasValidAttributeType() {
- // Even if there is no targetElement, discard is still a valid animation as it
- // has to delete itself.
- return true;
-}
-
-bool SVGDiscardElement::hasValidAttributeName() {
- // discard does not use attributeName so it is always valid.
- return true;
-}
-
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698