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 c2b616b9623016e49f52611aa04f233e2adc3c4a..eb7d4ef89816d22d1372f867206102381ad3590c 100644 |
--- a/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp |
+++ b/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp |
@@ -488,7 +488,7 @@ Response InspectorLayerTreeAgent::snapshotCommandLog( |
std::unique_ptr<protocol::Value> logValue = protocol::StringUtil::parseJSON( |
snapshot->snapshotCommandLog()->toJSONString()); |
*commandLog = |
- Array<protocol::DictionaryValue>::parse(logValue.get(), &errors); |
+ Array<protocol::DictionaryValue>::fromValue(logValue.get(), &errors); |
if (errors.hasErrors()) |
return Response::Error(errors.errors()); |
return Response::OK(); |