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

Unified Diff: Source/core/html/HTMLPreElement.cpp

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/HTMLPreElement.h ('k') | Source/core/html/HTMLQuoteElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLPreElement.cpp
diff --git a/Source/core/html/HTMLPreElement.cpp b/Source/core/html/HTMLPreElement.cpp
index 7f5547255ad7e3c20fb911db9b008e13651163fb..ac439df593a8b1633f5712c2cd7ba30fc373a7e6 100644
--- a/Source/core/html/HTMLPreElement.cpp
+++ b/Source/core/html/HTMLPreElement.cpp
@@ -39,10 +39,7 @@ inline HTMLPreElement::HTMLPreElement(const QualifiedName& tagName, Document& do
ScriptWrappable::init(this);
}
-PassRefPtrWillBeRawPtr<HTMLPreElement> HTMLPreElement::create(const QualifiedName& tagName, Document& document)
-{
- return adoptRefWillBeRefCountedGarbageCollected(new HTMLPreElement(tagName, document));
-}
+DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(HTMLPreElement)
bool HTMLPreElement::isPresentationAttribute(const QualifiedName& name) const
{
« no previous file with comments | « Source/core/html/HTMLPreElement.h ('k') | Source/core/html/HTMLQuoteElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698