Chromium Code Reviews| Index: Source/core/dom/Element.cpp |
| diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp |
| index 14825c8d561016c4acea93202accb04b75c4f1a3..dd2b705676c468dfa9676d3649d49ee7ad587b42 100644 |
| --- a/Source/core/dom/Element.cpp |
| +++ b/Source/core/dom/Element.cpp |
| @@ -1269,7 +1269,7 @@ const AtomicString& Element::locateNamespacePrefix(const AtomicString& namespace |
| KURL Element::baseURI() const |
| { |
| - const AtomicString& baseAttribute = getAttribute(baseAttr); |
| + const AtomicString& baseAttribute = fastGetAttribute(baseAttr); |
| KURL base(KURL(), baseAttribute); |
| if (!base.protocol().isEmpty()) |
| return base; |
| @@ -2966,7 +2966,7 @@ void Element::webkitRequestPointerLock() |
| SpellcheckAttributeState Element::spellcheckAttributeState() const |
| { |
| - const AtomicString& value = getAttribute(HTMLNames::spellcheckAttr); |
| + const AtomicString& value = fastGetAttribute(HTMLNames::spellcheckAttr); |
|
Inactive
2014/02/13 16:03:43
HTMLNames:: is likely not needed.
|
| if (value == nullAtom) |
| return SpellcheckAttributeDefault; |
| if (equalIgnoringCase(value, "true") || equalIgnoringCase(value, "")) |