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

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

Issue 2522583002: Roll third_party/inspector_protocol to 4ad35c45aca9834b67ec2cb152c816ea1b7ceb48 (Closed)
Patch Set: updated README.chromium Created 4 years, 1 month 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 0b6f781d5b3af175531b0200f6faa3bff4cff70c..994fb33b8c84250fbbdbff8276c62cad7075c6b9 100644
--- a/third_party/WebKit/Source/modules/accessibility/InspectorTypeBuilderHelper.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/InspectorTypeBuilderHelper.cpp
@@ -72,28 +72,28 @@ std::unique_ptr<AXProperty> createProperty(IgnoredReason reason) {
std::unique_ptr<AXValue> createValue(const String& value, const String& type) {
return AXValue::create()
.setType(type)
- .setValue(protocol::ValueConversions<String>::serialize(value))
+ .setValue(protocol::ValueConversions<String>::toValue(value))
.build();
}
std::unique_ptr<AXValue> createValue(int value, const String& type) {
return AXValue::create()
.setType(type)
- .setValue(protocol::ValueConversions<int>::serialize(value))
+ .setValue(protocol::ValueConversions<int>::toValue(value))
.build();
}
std::unique_ptr<AXValue> createValue(float value, const String& type) {
return AXValue::create()
.setType(type)
- .setValue(protocol::ValueConversions<double>::serialize(value))
+ .setValue(protocol::ValueConversions<double>::toValue(value))
.build();
}
std::unique_ptr<AXValue> createBooleanValue(bool value, const String& type) {
return AXValue::create()
.setType(type)
- .setValue(protocol::ValueConversions<bool>::serialize(value))
+ .setValue(protocol::ValueConversions<bool>::toValue(value))
.build();
}
« no previous file with comments | « third_party/WebKit/Source/core/inspector/ProtocolParserTest.cpp ('k') | third_party/WebKit/Source/web/InspectorOverlay.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698