X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/2d39b0e377c0896910ee49ae70082ba665faf986..ed1e77d3adeb83d26fd1dfb16dd84cabdcefd250:/inspector/InjectedScriptBase.h?ds=sidebyside diff --git a/inspector/InjectedScriptBase.h b/inspector/InjectedScriptBase.h index 034e0c2..06c3f56 100644 --- a/inspector/InjectedScriptBase.h +++ b/inspector/InjectedScriptBase.h @@ -32,10 +32,8 @@ #ifndef InjectedScriptBase_h #define InjectedScriptBase_h -#if ENABLE(INSPECTOR) - #include "InspectorEnvironment.h" -#include "InspectorJSTypeBuilders.h" +#include "InspectorProtocolObjects.h" #include "bindings/ScriptObject.h" #include #include @@ -68,7 +66,7 @@ protected: const Deprecated::ScriptObject& injectedScriptObject() const; Deprecated::ScriptValue callFunctionWithEvalEnabled(Deprecated::ScriptFunctionCall&, bool& hadException) const; void makeCall(Deprecated::ScriptFunctionCall&, RefPtr* result); - void makeEvalCall(ErrorString*, Deprecated::ScriptFunctionCall&, RefPtr* result, TypeBuilder::OptOutput* wasThrown); + void makeEvalCall(ErrorString&, Deprecated::ScriptFunctionCall&, RefPtr* result, Protocol::OptOutput* wasThrown, Protocol::OptOutput* savedResult = nullptr); private: String m_name; @@ -78,6 +76,4 @@ private: } // namespace Inspector -#endif // ENABLE(INSPECTOR) - #endif // InjectedScriptBase_h