Index: third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp |
diff --git a/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp |
index cbe1f85b8320d2eb9214c816a30c06c4d6cbd54c..c2b616b9623016e49f52611aa04f233e2adc3c4a 100644 |
--- a/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp |
+++ b/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp |
@@ -485,8 +485,8 @@ Response InspectorLayerTreeAgent::snapshotCommandLog( |
if (!response.isSuccess()) |
return response; |
protocol::ErrorSupport errors; |
- std::unique_ptr<protocol::Value> logValue = |
- protocol::parseJSON(snapshot->snapshotCommandLog()->toJSONString()); |
+ std::unique_ptr<protocol::Value> logValue = protocol::StringUtil::parseJSON( |
+ snapshot->snapshotCommandLog()->toJSONString()); |
*commandLog = |
Array<protocol::DictionaryValue>::parse(logValue.get(), &errors); |
if (errors.hasErrors()) |