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

Unified Diff: Source/core/html/HTMLFrameElementBase.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/HTMLElement.cpp ('k') | Source/core/html/HTMLMediaElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLFrameElementBase.h
diff --git a/Source/core/html/HTMLFrameElementBase.h b/Source/core/html/HTMLFrameElementBase.h
index 5c2f8d84b8a1068fbba6de811d8397743bd92d91..6700cba9182c4302466df15aed0cadb235bee6f7 100644
--- a/Source/core/html/HTMLFrameElementBase.h
+++ b/Source/core/html/HTMLFrameElementBase.h
@@ -78,11 +78,6 @@ private:
int m_marginHeight;
};
-inline bool isHTMLFrameElementBase(const Element& element)
-{
- return isHTMLFrameElement(element) || isHTMLIFrameElement(element);
-}
-
inline bool isHTMLFrameElementBase(const HTMLElement& element)
{
return isHTMLFrameElement(element) || isHTMLIFrameElement(element);
« no previous file with comments | « Source/core/html/HTMLElement.cpp ('k') | Source/core/html/HTMLMediaElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698