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

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

Issue 150103007: Use fastGetAttribute in more places (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Use fastGEtAttribute more for titleAttr Created 6 years, 10 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/HTMLInputElement.cpp ('k') | Source/core/html/HTMLTableSectionElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLTableCellElement.cpp
diff --git a/Source/core/html/HTMLTableCellElement.cpp b/Source/core/html/HTMLTableCellElement.cpp
index 050b3f6142383145445bb16075feb448a694c6a1..833196300d642ccc56aba1d06a0409662caf94d3 100644
--- a/Source/core/html/HTMLTableCellElement.cpp
+++ b/Source/core/html/HTMLTableCellElement.cpp
@@ -132,12 +132,12 @@ bool HTMLTableCellElement::isURLAttribute(const Attribute& attribute) const
const AtomicString& HTMLTableCellElement::abbr() const
{
- return getAttribute(abbrAttr);
+ return fastGetAttribute(abbrAttr);
}
const AtomicString& HTMLTableCellElement::axis() const
{
- return getAttribute(axisAttr);
+ return fastGetAttribute(axisAttr);
}
void HTMLTableCellElement::setColSpan(int n)
@@ -147,7 +147,7 @@ void HTMLTableCellElement::setColSpan(int n)
const AtomicString& HTMLTableCellElement::headers() const
{
- return getAttribute(headersAttr);
+ return fastGetAttribute(headersAttr);
}
void HTMLTableCellElement::setRowSpan(int n)
@@ -157,7 +157,7 @@ void HTMLTableCellElement::setRowSpan(int n)
const AtomicString& HTMLTableCellElement::scope() const
{
- return getAttribute(scopeAttr);
+ return fastGetAttribute(scopeAttr);
}
HTMLTableCellElement* HTMLTableCellElement::cellAbove() const
« no previous file with comments | « Source/core/html/HTMLInputElement.cpp ('k') | Source/core/html/HTMLTableSectionElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698