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

Unified Diff: Source/core/html/HTMLAreaElement.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/HTMLAreaElement.h
diff --git a/Source/core/html/HTMLAreaElement.h b/Source/core/html/HTMLAreaElement.h
index 2fc4cebc81c034999b49ce163a815732cb391de0..65f62ad6d7d3b6b0d2f8293f7dfd4846e3afffd0 100644
--- a/Source/core/html/HTMLAreaElement.h
+++ b/Source/core/html/HTMLAreaElement.h
@@ -78,12 +78,6 @@ inline bool isHTMLAreaElement(const Element* element)
return element->hasTagName(HTMLNames::areaTag);
}
-inline HTMLAreaElement* toHTMLAreaElement(Node* node)
-{
- ASSERT_WITH_SECURITY_IMPLICATION(!node || isHTMLAreaElement(node));
- return static_cast<HTMLAreaElement*>(node);
-}
-
} //namespace
#endif

Powered by Google App Engine
This is Rietveld 408576698