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

Unified Diff: Source/core/html/HTMLTableColElement.cpp

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/HTMLTableColElement.h ('k') | Source/core/html/HTMLTableRowsCollection.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLTableColElement.cpp
diff --git a/Source/core/html/HTMLTableColElement.cpp b/Source/core/html/HTMLTableColElement.cpp
index f8c8095d44c7fb02f6955a9e8888f71695e81544..42a49172903531d665c87418288090d6e3acf65f 100644
--- a/Source/core/html/HTMLTableColElement.cpp
+++ b/Source/core/html/HTMLTableColElement.cpp
@@ -82,7 +82,7 @@ void HTMLTableColElement::parseAttribute(const QualifiedName& name, const Atomic
const StylePropertySet* HTMLTableColElement::additionalPresentationAttributeStyle()
{
- if (!hasLocalName(colgroupTag))
+ if (!hasTagName(colgroupTag))
return 0;
if (HTMLTableElement* table = findParentTable())
return table->additionalGroupStyle(false);
« no previous file with comments | « Source/core/html/HTMLTableColElement.h ('k') | Source/core/html/HTMLTableRowsCollection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698