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

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

Powered by Google App Engine
This is Rietveld 408576698