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 958b2ee1166ed1689bc12b41b01f56daed4b8db0..a9c7cadb98f90aa3746f4540f4fc36301f9c51ee 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLMapElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLMapElement.cpp |
@@ -69,7 +69,7 @@ HTMLImageElement* HTMLMapElement::imageElement() |
// 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).string().substring(1); |
+ String useMapName = imageElement.getAttribute(usemapAttr).getString().substring(1); |
if (equalIgnoringCase(useMapName, m_name)) |
return &imageElement; |
} |