commit | 10923579fa54547693682d7c647065a7b1900533 | [log] [tgz] |
---|---|---|
author | weinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Wed Jan 07 20:56:24 2015 +0000 |
committer | weinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Wed Jan 07 20:56:24 2015 +0000 |
tree | 7871c0d39beb63d10ad9c52f80fa99293fae5a44 | |
parent | a3b31f48af51aeae98f750abee33354fd0ed3a4b [diff] |
Modernize the SVGElement and MathMLElement factories https://bugs.webkit.org/show_bug.cgi?id=140163 Reviewed by Dan Bernstein. * dom/Element.cpp: (WebCore::Element::create): * dom/Element.h: Change to return a Ref rather than a RefPtr. * dom/make_names.pl: (printConstructorSignature): (printFactoryCppFile): (printFactoryHeaderFile): Change to unconditionally use Ref as the return type for element factories now that HTML is not special cased. * SVG and MathML element files elided * Changed all SVG and MathML element's create functions to return a Ref. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@178048 268f45cc-cd09-0410-ab3c-d52691b4dbfc