Index: third_party/WebKit/Source/platform/inspector_protocol/DispatcherBase.cpp |
diff --git a/third_party/WebKit/Source/platform/inspector_protocol/DispatcherBase.cpp b/third_party/WebKit/Source/platform/inspector_protocol/DispatcherBase.cpp |
index 49422eba09a9ca12f0c037896ab173c95bd86a1d..8f154f42ac286f04d1d712d44aa3c8d527c659e9 100644 |
--- a/third_party/WebKit/Source/platform/inspector_protocol/DispatcherBase.cpp |
+++ b/third_party/WebKit/Source/platform/inspector_protocol/DispatcherBase.cpp |
@@ -34,7 +34,7 @@ void DispatcherBase::Callback::dispose() |
void DispatcherBase::Callback::sendIfActive(std::unique_ptr<protocol::DictionaryValue> partialMessage, const ErrorString& invocationError) |
{ |
- if (!m_backendImpl->get()) |
+ if (!m_backendImpl || !m_backendImpl->get()) |
return; |
m_backendImpl->get()->sendResponse(m_callId, invocationError, nullptr, std::move(partialMessage)); |
m_backendImpl = nullptr; |