X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/81345200c95645a1b0d2635520f96ad55dfde63f..refs/heads/master:/inspector/JSGlobalObjectScriptDebugServer.h diff --git a/inspector/JSGlobalObjectScriptDebugServer.h b/inspector/JSGlobalObjectScriptDebugServer.h index d309e59..901b673 100644 --- a/inspector/JSGlobalObjectScriptDebugServer.h +++ b/inspector/JSGlobalObjectScriptDebugServer.h @@ -26,8 +26,6 @@ #ifndef JSGlobalObjectScriptDebugServer_h #define JSGlobalObjectScriptDebugServer_h -#if ENABLE(INSPECTOR) - #include "ScriptDebugServer.h" #include @@ -47,7 +45,7 @@ public: virtual void recompileAllJSFunctions() override; private: - virtual ListenerSet* getListenersForGlobalObject(JSC::JSGlobalObject*) override { return &m_listeners; } + virtual ListenerSet& getListeners() override { return m_listeners; } virtual void didPause(JSC::JSGlobalObject*) override { } virtual void didContinue(JSC::JSGlobalObject*) override { } virtual void runEventLoopWhilePaused() override; @@ -56,7 +54,7 @@ private: // NOTE: Currently all exceptions are reported at the API boundary through reportAPIException. // Until a time comes where an exception can be caused outside of the API (e.g. setTimeout // or some other async operation in a pure JSContext) we can ignore exceptions reported here. - virtual void reportException(JSC::ExecState*, JSC::JSValue) const override { } + virtual void reportException(JSC::ExecState*, JSC::Exception*) const override { } ListenerSet m_listeners; JSC::JSGlobalObject& m_globalObject; @@ -64,6 +62,4 @@ private: } // namespace Inspector -#endif // ENABLE(INSPECTOR) - #endif // JSGlobalObjectScriptDebugServer_h