Generate isMathMLFoo() toMathMLFoo() by using NODE_TYPE_CASTS macro and generateTypeH...
authorgyuyoung.kim@samsung.com <gyuyoung.kim@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Jul 2014 17:36:03 +0000 (17:36 +0000)
committergyuyoung.kim@samsung.com <gyuyoung.kim@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Jul 2014 17:36:03 +0000 (17:36 +0000)
commit8d28ca12539416337113c20991c003e737b25298
tree2367a06e9fe0bd01d2bdc70ad195bdd91eff0790
parenteb1745af3888be11fcaff14a4dd716dbf9f93b1d
Generate isMathMLFoo() toMathMLFoo() by using NODE_TYPE_CASTS macro and generateTypeHelpers
https://bugs.webkit.org/show_bug.cgi?id=134647

Reviewed by Andreas Kling.

Use type cast macro and generation tag for isFoo() and toFoo() in some MathML classes.

No new tests, no behavior change.

* mathml/MathMLElement.h: Place MathMLElementTypeHelpers.h to the bottom of the
file so that functions from that file can use the Element|Node classes and other things defined in this file.
(WebCore::isMathMLElement): Deleted.
* mathml/MathMLMencloseElement.h:
(WebCore::toMathMLMencloseElement): Deleted.
* mathml/mathtags.in:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@170825 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/mathml/MathMLElement.h
Source/WebCore/mathml/MathMLMencloseElement.h
Source/WebCore/mathml/mathtags.in