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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.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/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();

Powered by Google App Engine
This is Rietveld 408576698