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

Unified Diff: Source/core/html/HTMLAnchorElement.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
« no previous file with comments | « no previous file | Source/core/html/HTMLAreaElement.h » ('j') | Source/core/scripts/make_names.pl » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLAnchorElement.h
diff --git a/Source/core/html/HTMLAnchorElement.h b/Source/core/html/HTMLAnchorElement.h
index a3410b56333c1780ad02b8b5e52414ebb098ac00..cc9685d13b64633263bcf069a2d789b6ea107fb7 100644
--- a/Source/core/html/HTMLAnchorElement.h
+++ b/Source/core/html/HTMLAnchorElement.h
@@ -168,12 +168,6 @@ inline bool isHTMLAnchorElement(const Element* element)
return element->hasTagName(HTMLNames::aTag);
}
-inline HTMLAnchorElement* toHTMLAnchorElement(Node* node)
-{
- ASSERT_WITH_SECURITY_IMPLICATION(!node || isHTMLAnchorElement(node));
- return static_cast<HTMLAnchorElement*>(node);
-}
-
} // namespace WebCore
#endif // HTMLAnchorElement_h
« no previous file with comments | « no previous file | Source/core/html/HTMLAreaElement.h » ('j') | Source/core/scripts/make_names.pl » ('J')

Powered by Google App Engine
This is Rietveld 408576698