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

Unified Diff: Source/core/svg/SVGUnknownElement.h

Issue 327133002: Intorudce DECLARE/DEFINE_ELEMENT_FACTORY_WITH_TAGNAME macros. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix a duplicated symbol issue Created 6 years, 6 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
« no previous file with comments | « Source/core/html/HTMLTableSectionElement.cpp ('k') | Source/core/svg/SVGUnknownElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGUnknownElement.h
diff --git a/Source/core/svg/SVGUnknownElement.h b/Source/core/svg/SVGUnknownElement.h
index 0b3ddd78eb6421ed0bd6d32b4433208e6937f958..d99ac032d11a237f85e51eeb4112f0dc7c3c9a6b 100644
--- a/Source/core/svg/SVGUnknownElement.h
+++ b/Source/core/svg/SVGUnknownElement.h
@@ -43,10 +43,7 @@ namespace WebCore {
// false to make sure we don't attempt to render such elements.
class SVGUnknownElement FINAL : public SVGElement {
public:
- static PassRefPtrWillBeRawPtr<SVGUnknownElement> create(const QualifiedName& tagName, Document& document)
- {
- return adoptRefWillBeRefCountedGarbageCollected(new SVGUnknownElement(tagName, document));
- }
+ DECLARE_ELEMENT_FACTORY_WITH_TAGNAME(SVGUnknownElement);
private:
SVGUnknownElement(const QualifiedName&, Document&);
« no previous file with comments | « Source/core/html/HTMLTableSectionElement.cpp ('k') | Source/core/svg/SVGUnknownElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698