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

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

Issue 313973003: Rename ElementData's attribute related methods for clarity (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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/dom/NamedNodeMap.cpp ('k') | Source/core/html/HTMLSelectElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLInputElement.cpp
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp
index 88f30bd2c1fddc94d4be0ff7c4abc1a7f114b0a3..717d8d43f9997fb12dab13d87ed7c98d243c1f97 100644
--- a/Source/core/html/HTMLInputElement.cpp
+++ b/Source/core/html/HTMLInputElement.cpp
@@ -452,11 +452,11 @@ void HTMLInputElement::updateType()
if (didRespectHeightAndWidth != m_inputType->shouldRespectHeightAndWidthAttributes()) {
ASSERT(elementData());
- if (const Attribute* height = getAttributeItem(heightAttr))
+ if (const Attribute* height = findAttributeByName(heightAttr))
attributeChanged(heightAttr, height->value());
- if (const Attribute* width = getAttributeItem(widthAttr))
+ if (const Attribute* width = findAttributeByName(widthAttr))
attributeChanged(widthAttr, width->value());
- if (const Attribute* align = getAttributeItem(alignAttr))
+ if (const Attribute* align = findAttributeByName(alignAttr))
attributeChanged(alignAttr, align->value());
}
« no previous file with comments | « Source/core/dom/NamedNodeMap.cpp ('k') | Source/core/html/HTMLSelectElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698