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

Unified Diff: Source/core/html/HTMLMetaElement-in.cpp

Issue 327633004: Apply DEFINE/DECLARE_NODE_FACTORY(T) macro to element factories with single Document& argument. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/HTMLMetaElement.h ('k') | Source/core/html/HTMLNoEmbedElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLMetaElement-in.cpp
diff --git a/Source/core/html/HTMLMetaElement-in.cpp b/Source/core/html/HTMLMetaElement-in.cpp
index fd9e353afa4d63c2ccb7186f2f5cdab4b83309b2..adc07ab70617ae4afe8fc539829e695b5af8e602 100644
--- a/Source/core/html/HTMLMetaElement-in.cpp
+++ b/Source/core/html/HTMLMetaElement-in.cpp
@@ -51,10 +51,7 @@ inline HTMLMetaElement::HTMLMetaElement(Document& document)
ScriptWrappable::init(this);
}
-PassRefPtrWillBeRawPtr<HTMLMetaElement> HTMLMetaElement::create(Document& document)
-{
- return adoptRefWillBeRefCountedGarbageCollected(new HTMLMetaElement(document));
-}
+DEFINE_NODE_FACTORY(HTMLMetaElement)
static bool isInvalidSeparator(UChar c)
{
« no previous file with comments | « Source/core/html/HTMLMetaElement.h ('k') | Source/core/html/HTMLNoEmbedElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698