Fix 873811 by guarding v8_session_ for calls via V8Inspector::Channel.
v8_session_ starts out being a nullptr, and the constructor of InspectorSession initializes it. However, this initialization involves calling inspector->connect which calls the inspector session (this) with sendResponse / flushProtocolNotifications. This PR tries to resolve it by guarding v8_session_ for the V8Inspector::Channel methods. Bug: 873811 Change-Id: I8142eb61f9a8f6fb003b9baa0b6222730234ccae Reviewed-on: https://chromium-review.googlesource.com/1235054Reviewed-by:Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> Reviewed-by:
Andrey Kosyakov <caseq@chromium.org> Commit-Queue: Johannes Henkel <johannes@chromium.org> Cr-Commit-Position: refs/heads/master@{#592881}
Showing
Please register or sign in to comment