Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(414)

Unified Diff: third_party/WebKit/Source/modules/accessibility/InspectorTypeBuilderHelper.cpp

Issue 1835773002: Rename AtomicString::string() to AtomicString::getString(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Windows Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 b0886b77a22175ceeb8ace4a1d093bb884838a0d..d864c6b8332b0e29404a434577cd3aae1f95dcd6 100644
--- a/third_party/WebKit/Source/modules/accessibility/InspectorTypeBuilderHelper.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/InspectorTypeBuilderHelper.cpp
@@ -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(protocol::StringValue::create(nameSource.attributeValue.string()));
+ attributeValue->setValue(protocol::StringValue::create(nameSource.attributeValue.getString()));
valueSource->setAttributeValue(attributeValue.release());
} else if (nameSource.attribute == QualifiedName::null()) {
valueSource->setNativeSourceValue(createRelatedNodeListValue(nameSource.relatedObjects, AXValueTypeEnum::NodeList));
@@ -199,7 +199,7 @@ PassOwnPtr<AXValueSource> createValueSource(NameSource& nameSource)
if (!nameSource.text.isNull())
valueSource->setValue(createValue(nameSource.text, AXValueTypeEnum::ComputedString));
if (nameSource.attribute != QualifiedName::null())
- valueSource->setAttribute(nameSource.attribute.localName().string());
+ valueSource->setAttribute(nameSource.attribute.localName().getString());
if (nameSource.superseded)
valueSource->setSuperseded(true);
if (nameSource.invalid)
« no previous file with comments | « third_party/WebKit/Source/modules/accessibility/AXObject.cpp ('k') | third_party/WebKit/Source/platform/LinkHash.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698