| Index: third_party/WebKit/Source/modules/accessibility/InspectorTypeBuilderHelper.cpp
|
| diff --git a/third_party/WebKit/Source/modules/accessibility/InspectorTypeBuilderHelper.cpp b/third_party/WebKit/Source/modules/accessibility/InspectorTypeBuilderHelper.cpp
|
| index 1d189ab29f30e37dc282f4ba7d0fea64bd5c98bc..966fced466f839e1af4d5900fa59f0e24184b31e 100644
|
| --- a/third_party/WebKit/Source/modules/accessibility/InspectorTypeBuilderHelper.cpp
|
| +++ b/third_party/WebKit/Source/modules/accessibility/InspectorTypeBuilderHelper.cpp
|
| @@ -101,7 +101,7 @@ PassOwnPtr<AXRelatedNode> relatedNodeForAXObject(const AXObject* axObject, Strin
|
| return relatedNode.release();
|
|
|
| Element* element = toElement(node);
|
| - const AtomicString& idref = element->getIdAttribute();
|
| + String idref = element->getIdAttribute();
|
| if (!idref.isEmpty())
|
| relatedNode->setIdref(idref);
|
|
|
| @@ -188,7 +188,7 @@ PassOwnPtr<AXValueSource> createValueSource(NameSource& nameSource)
|
| if (nameSource.attribute == aria_labelledbyAttr || nameSource.attribute == aria_labeledbyAttr) {
|
| OwnPtr<AXValue> attributeValue = createRelatedNodeListValue(nameSource.relatedObjects, AXValueTypeEnum::IdrefList);
|
| if (!nameSource.attributeValue.isNull())
|
| - attributeValue->setValue(JSONString::create(nameSource.attributeValue.string()));
|
| + attributeValue->setValue(JSONString::create(nameSource.attributeValue.string()).get());
|
| valueSource->setAttributeValue(attributeValue.release());
|
| } else if (nameSource.attribute == QualifiedName::null()) {
|
| valueSource->setNativeSourceValue(createRelatedNodeListValue(nameSource.relatedObjects, AXValueTypeEnum::NodeList));
|
|
|