| Index: third_party/WebKit/Source/core/html/HTMLAreaElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLAreaElement.cpp b/third_party/WebKit/Source/core/html/HTMLAreaElement.cpp
|
| index 595484ffdeba11103014ae68852cd1159b0d6e4b..c0a9a85ca6c8eb353b9cc8f1557c1c0217736d8d 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLAreaElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLAreaElement.cpp
|
| @@ -57,10 +57,10 @@ HTMLAreaElement::~HTMLAreaElement() {}
|
|
|
| DEFINE_NODE_FACTORY(HTMLAreaElement)
|
|
|
| -void HTMLAreaElement::parseAttribute(const QualifiedName& name,
|
| - const AtomicString& oldValue,
|
| - const AtomicString& value) {
|
| - if (name == shapeAttr) {
|
| +void HTMLAreaElement::parseAttribute(
|
| + const AttributeModificationParams& params) {
|
| + const AtomicString& value = params.newValue;
|
| + if (params.name == shapeAttr) {
|
| if (equalIgnoringASCIICase(value, "default")) {
|
| m_shape = Default;
|
| } else if (equalIgnoringASCIICase(value, "circle") ||
|
| @@ -75,13 +75,13 @@ void HTMLAreaElement::parseAttribute(const QualifiedName& name,
|
| m_shape = Rect;
|
| }
|
| invalidateCachedPath();
|
| - } else if (name == coordsAttr) {
|
| + } else if (params.name == coordsAttr) {
|
| m_coords = parseHTMLListOfFloatingPointNumbers(value.getString());
|
| invalidateCachedPath();
|
| - } else if (name == altAttr || name == accesskeyAttr) {
|
| + } else if (params.name == altAttr || params.name == accesskeyAttr) {
|
| // Do nothing.
|
| } else {
|
| - HTMLAnchorElement::parseAttribute(name, oldValue, value);
|
| + HTMLAnchorElement::parseAttribute(params);
|
| }
|
| }
|
|
|
|
|