| Index: Source/web/WebElement.cpp
|
| diff --git a/Source/web/WebElement.cpp b/Source/web/WebElement.cpp
|
| index 4d097a71e529c35937d32739e1d6ebf481985480..6a65f179a2b6a2f089681e6c2ac8a2b8206a4778 100644
|
| --- a/Source/web/WebElement.cpp
|
| +++ b/Source/web/WebElement.cpp
|
| @@ -105,7 +105,7 @@ unsigned WebElement::attributeCount() const
|
| {
|
| if (!constUnwrap<Element>()->hasAttributes())
|
| return 0;
|
| - return constUnwrap<Element>()->attributeCount();
|
| + return constUnwrap<Element>()->attributes().size();
|
| }
|
|
|
| WebNode WebElement::shadowRoot() const
|
| @@ -120,14 +120,14 @@ WebString WebElement::attributeLocalName(unsigned index) const
|
| {
|
| if (index >= attributeCount())
|
| return WebString();
|
| - return constUnwrap<Element>()->attributeAt(index).localName();
|
| + return constUnwrap<Element>()->attributes().at(index).localName();
|
| }
|
|
|
| WebString WebElement::attributeValue(unsigned index) const
|
| {
|
| if (index >= attributeCount())
|
| return WebString();
|
| - return constUnwrap<Element>()->attributeAt(index).value();
|
| + return constUnwrap<Element>()->attributes().at(index).value();
|
| }
|
|
|
| WebString WebElement::innerText()
|
|
|