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

Unified Diff: Source/core/html/HTMLDataListElement.h

Issue 23991004: Generate toFooElement() functions from tagname data (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 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
Index: Source/core/html/HTMLDataListElement.h
diff --git a/Source/core/html/HTMLDataListElement.h b/Source/core/html/HTMLDataListElement.h
index 7deb03a8a8bb242b941ac2483251e297f3848ff3..85f429d4af3f9b907a1a3a5eec0e8832257fe987 100644
--- a/Source/core/html/HTMLDataListElement.h
+++ b/Source/core/html/HTMLDataListElement.h
@@ -49,12 +49,6 @@ private:
HTMLDataListElement(const QualifiedName&, Document&);
};
-inline HTMLDataListElement* toHTMLDataListElement(Node* node)
-{
- ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(HTMLNames::datalistTag));
- return static_cast<HTMLDataListElement*>(node);
-}
-
} // namespace WebCore
#endif // HTMLDataListElement_h

Powered by Google App Engine
This is Rietveld 408576698