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

Unified Diff: Source/core/html/HTMLFormElement.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/HTMLFormElement.h
diff --git a/Source/core/html/HTMLFormElement.h b/Source/core/html/HTMLFormElement.h
index c6036d99f002dee2d4b78ec1b73f2c55403c7454..d5a357147251c4b0f8e78ec81b3cf178a146d4b9 100644
--- a/Source/core/html/HTMLFormElement.h
+++ b/Source/core/html/HTMLFormElement.h
@@ -186,12 +186,6 @@ private:
Timer<HTMLFormElement> m_requestAutocompleteTimer;
};
-inline HTMLFormElement* toHTMLFormElement(Node* node)
-{
- ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(HTMLNames::formTag));
- return static_cast<HTMLFormElement*>(node);
-}
-
} // namespace WebCore
#endif // HTMLFormElement_h

Powered by Google App Engine
This is Rietveld 408576698