Index: third_party/WebKit/Source/core/html/HTMLMenuItemElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLMenuItemElement.cpp b/third_party/WebKit/Source/core/html/HTMLMenuItemElement.cpp |
index e397cda6c7e2fd4fa211f5fcf35da5ec8e17c111..eb25dbe661401c079a5cfd28aa7363e86c4f8b7c 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLMenuItemElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLMenuItemElement.cpp |
@@ -29,7 +29,7 @@ void HTMLMenuItemElement::defaultEventHandler(Event* event) |
setAttribute(checkedAttr, "checked"); |
} else if (equalIgnoringCase(fastGetAttribute(typeAttr), "radio")) { |
if (Element* parent = parentElement()) { |
- const AtomicString& group = fastGetAttribute(radiogroupAttr); |
+ AtomicString group = fastGetAttribute(radiogroupAttr); |
for (HTMLMenuItemElement& menuItem : Traversal<HTMLMenuItemElement>::childrenOf(*parent)) { |
if (!menuItem.fastHasAttribute(checkedAttr)) |
continue; |