| Index: third_party/WebKit/Source/core/inspector/InspectorLogAgent.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorLogAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorLogAgent.cpp
|
| index 62bc2d7b7fe044a54fcf96206c19f36b7078b46d..c7f51d705d876e1eee3c948620b3ca4fb5c38c63 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorLogAgent.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorLogAgent.cpp
|
| @@ -92,7 +92,7 @@ void InspectorLogAgent::restore() {
|
| if (config) {
|
| protocol::ErrorSupport errors;
|
| startViolationsReport(
|
| - protocol::Array<ViolationSetting>::parse(config, &errors));
|
| + protocol::Array<ViolationSetting>::fromValue(config, &errors));
|
| }
|
| }
|
|
|
| @@ -184,7 +184,7 @@ Response InspectorLogAgent::startViolationsReport(
|
| std::unique_ptr<protocol::Array<ViolationSetting>> settings) {
|
| if (!m_enabled)
|
| return Response::Error("Log is not enabled");
|
| - m_state->setValue(LogAgentState::logViolations, settings->serialize());
|
| + m_state->setValue(LogAgentState::logViolations, settings->toValue());
|
| if (!m_performanceMonitor)
|
| return Response::Error("Violations are not supported for this target");
|
| m_performanceMonitor->unsubscribeAll(this);
|
|
|