Index: Source/core/inspector/PerIsolateDebuggerClient.h |
diff --git a/Source/core/inspector/PerIsolateDebuggerClient.h b/Source/core/inspector/PerIsolateDebuggerClient.h |
index 10f6d5e2f958edd9678bfdb768338ad2d1944c58..be6982cb679c679fccf27f4c535248336f2cb70b 100644 |
--- a/Source/core/inspector/PerIsolateDebuggerClient.h |
+++ b/Source/core/inspector/PerIsolateDebuggerClient.h |
@@ -9,14 +9,16 @@ |
namespace blink { |
-class PerIsolateDebuggerClient final : public ScriptDebugServer::Client { |
+class PerIsolateDebuggerClient : public ScriptDebugServer::Client { |
WTF_MAKE_NONCOPYABLE(PerIsolateDebuggerClient); |
public: |
- explicit PerIsolateDebuggerClient(v8::Isolate*); |
+ PerIsolateDebuggerClient(v8::Isolate*, PassOwnPtr<ScriptDebugServer>); |
~PerIsolateDebuggerClient() override; |
v8::Local<v8::Object> compileDebuggerScript() override; |
+ ScriptDebugServer* scriptDebugServer() const { return m_scriptDebugServer.get(); } |
private: |
v8::Isolate* m_isolate; |
+ OwnPtr<ScriptDebugServer> m_scriptDebugServer; |
}; |
} // namespace blink |