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

Unified Diff: Source/core/xml/XPathFunctions.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/inspector/DOMPatchSupport.cpp ('k') | Source/web/WebElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/XPathFunctions.cpp
diff --git a/Source/core/xml/XPathFunctions.cpp b/Source/core/xml/XPathFunctions.cpp
index 90c097252abe7a3c4c921f3107f94a8360aa7552..77a0cd8709c0d68a0e9a96dc78ccdf9252c3dda2 100644
--- a/Source/core/xml/XPathFunctions.cpp
+++ b/Source/core/xml/XPathFunctions.cpp
@@ -603,7 +603,7 @@ Value FunLang::evaluate() const
if (node->isElementNode()) {
Element* element = toElement(node);
if (element->hasAttributes())
- languageAttribute = element->getAttributeItem(XMLNames::langAttr);
+ languageAttribute = element->findAttributeByName(XMLNames::langAttr);
}
if (languageAttribute)
break;
« no previous file with comments | « Source/core/inspector/DOMPatchSupport.cpp ('k') | Source/web/WebElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698