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

Unified Diff: Source/web/WebElement.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/xml/XPathFunctions.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebElement.cpp
diff --git a/Source/web/WebElement.cpp b/Source/web/WebElement.cpp
index d80c4e6564a80f711d1320b99726205852fece71..488605c1ce99538112f8827577308aa4b44b4b3d 100644
--- a/Source/web/WebElement.cpp
+++ b/Source/web/WebElement.cpp
@@ -126,14 +126,14 @@ WebString WebElement::attributeLocalName(unsigned index) const
{
if (index >= attributeCount())
return WebString();
- return constUnwrap<Element>()->attributeItem(index).localName();
+ return constUnwrap<Element>()->attributeAt(index).localName();
}
WebString WebElement::attributeValue(unsigned index) const
{
if (index >= attributeCount())
return WebString();
- return constUnwrap<Element>()->attributeItem(index).value();
+ return constUnwrap<Element>()->attributeAt(index).value();
}
WebString WebElement::innerText()
« no previous file with comments | « Source/core/xml/XPathFunctions.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698