Index: src/inspector/v8-schema-agent-impl.cc |
diff --git a/src/inspector/v8-schema-agent-impl.cc b/src/inspector/v8-schema-agent-impl.cc |
index 9eed5bdf8137106d996e93d322e48278831906f8..d7b6cdcb01254565e9cbe740b40fcc92f60f8d8a 100644 |
--- a/src/inspector/v8-schema-agent-impl.cc |
+++ b/src/inspector/v8-schema-agent-impl.cc |
@@ -16,14 +16,14 @@ V8SchemaAgentImpl::V8SchemaAgentImpl(V8InspectorSessionImpl* session, |
V8SchemaAgentImpl::~V8SchemaAgentImpl() {} |
-void V8SchemaAgentImpl::getDomains( |
- ErrorString*, |
+Response V8SchemaAgentImpl::getDomains( |
std::unique_ptr<protocol::Array<protocol::Schema::Domain>>* result) { |
std::vector<std::unique_ptr<protocol::Schema::Domain>> domains = |
m_session->supportedDomainsImpl(); |
*result = protocol::Array<protocol::Schema::Domain>::create(); |
for (size_t i = 0; i < domains.size(); ++i) |
(*result)->addItem(std::move(domains[i])); |
+ return Response::OK(); |
} |
} // namespace v8_inspector |