Index: third_party/WebKit/Source/platform/inspector_protocol/DispatcherBase_cpp.template |
diff --git a/third_party/WebKit/Source/platform/inspector_protocol/DispatcherBase_cpp.template b/third_party/WebKit/Source/platform/inspector_protocol/DispatcherBase_cpp.template |
index 2f842e7fa1177cf68594c5379e030e22bcfc15b7..c9b70e770e10b4f49e0f90f68e0b300a1bb9ba97 100644 |
--- a/third_party/WebKit/Source/platform/inspector_protocol/DispatcherBase_cpp.template |
+++ b/third_party/WebKit/Source/platform/inspector_protocol/DispatcherBase_cpp.template |
@@ -127,9 +127,8 @@ void UberDispatcher::registerBackend(const String16& name, std::unique_ptr<proto |
m_dispatchers[name] = std::move(dispatcher); |
} |
-void UberDispatcher::dispatch(const String16& message) |
+void UberDispatcher::dispatch(std::unique_ptr<Value> parsedMessage) |
{ |
- std::unique_ptr<protocol::Value> parsedMessage = parseJSON(message); |
if (!parsedMessage) |
return; |
std::unique_ptr<protocol::DictionaryValue> messageObject = DictionaryValue::cast(std::move(parsedMessage)); |