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

Unified Diff: Source/core/html/HTMLLegendElement.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/HTMLLegendElement.h
diff --git a/Source/core/html/HTMLLegendElement.h b/Source/core/html/HTMLLegendElement.h
index 4ee68b2433d321259c33119126122fdc10639a48..d02472d74cdf504d85854b10c84789a13f7a748d 100644
--- a/Source/core/html/HTMLLegendElement.h
+++ b/Source/core/html/HTMLLegendElement.h
@@ -45,12 +45,6 @@ private:
virtual HTMLFormElement* virtualForm() const OVERRIDE;
};
-inline HTMLLegendElement* toHTMLLegendElement(Node* node)
-{
- ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(HTMLNames::legendTag));
- return static_cast<HTMLLegendElement*>(node);
-}
-
} //namespace
#endif

Powered by Google App Engine
This is Rietveld 408576698