| Index: third_party/WebKit/Source/core/html/HTMLMapElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLMapElement.cpp b/third_party/WebKit/Source/core/html/HTMLMapElement.cpp
|
| index 5f3804e5daeedfc1528dbadfd219f621441e5098..930a2c0a2343ab999893d49056ad0b8477e2468a 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLMapElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLMapElement.cpp
|
| @@ -64,8 +64,8 @@ HTMLImageElement* HTMLMapElement::imageElement() {
|
| for (unsigned i = 0; Element* curr = images->item(i); ++i) {
|
| DCHECK(isHTMLImageElement(curr));
|
|
|
| - // The HTMLImageElement's useMap() value includes the '#' symbol at the beginning,
|
| - // which has to be stripped off.
|
| + // The HTMLImageElement's useMap() value includes the '#' symbol at the
|
| + // beginning, which has to be stripped off.
|
| HTMLImageElement& imageElement = toHTMLImageElement(*curr);
|
| String useMapName =
|
| imageElement.getAttribute(usemapAttr).getString().substring(1);
|
| @@ -80,7 +80,8 @@ void HTMLMapElement::parseAttribute(const QualifiedName& name,
|
| const AtomicString& oldValue,
|
| const AtomicString& value) {
|
| // FIXME: This logic seems wrong for XML documents.
|
| - // Either the id or name will be used depending on the order the attributes are parsed.
|
| + // Either the id or name will be used depending on the order the attributes
|
| + // are parsed.
|
|
|
| if (name == idAttr || name == nameAttr) {
|
| if (name == idAttr) {
|
|
|