mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
ScriptDebugServer needs a way to find ScriptDebugListener for the paused v8::Context. The listeners are added per InspectorHost. Now we have to mapping v8::Context -> InspectorHost, InspectorHost -> ScriptDebugListener which allow to map v8::Context -> ScriptDebugListener. This allows to avoid storing InspectorHost on Page. BUG=435243 R=abarth@chromium.org Review URL: https://codereview.chromium.org/764573002