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

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

Issue 406843002: Optimize hasTagName when called on an HTMLElement / SVGElement (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | « Source/core/html/HTMLTableSectionElement.h ('k') | Source/core/html/LabelableElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLUnknownElement.h
diff --git a/Source/core/html/HTMLUnknownElement.h b/Source/core/html/HTMLUnknownElement.h
index e9ac62f2d3349fa4433b53ba13b1de4611218bd6..d8c0e9687efdad664de3b74bc7f6fc87aa83fba9 100644
--- a/Source/core/html/HTMLUnknownElement.h
+++ b/Source/core/html/HTMLUnknownElement.h
@@ -51,11 +51,6 @@ private:
}
};
-inline bool isHTMLUnknownElement(const Element& element)
-{
- return element.isHTMLElement() && toHTMLElement(element).isHTMLUnknownElement();
-}
-
inline bool isHTMLUnknownElement(const HTMLElement& element)
{
return element.isHTMLUnknownElement();
« no previous file with comments | « Source/core/html/HTMLTableSectionElement.h ('k') | Source/core/html/LabelableElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698