From a4e969f4965059196ca948db781e52f7cfebf19e Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 24 May 2016 08:28:08 +0000 Subject: webkitgtk-2.12.3 --- Source/JavaScriptCore/inspector/InjectedScriptModule.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'Source/JavaScriptCore/inspector/InjectedScriptModule.h') diff --git a/Source/JavaScriptCore/inspector/InjectedScriptModule.h b/Source/JavaScriptCore/inspector/InjectedScriptModule.h index a170e798d..a96e618b2 100644 --- a/Source/JavaScriptCore/inspector/InjectedScriptModule.h +++ b/Source/JavaScriptCore/inspector/InjectedScriptModule.h @@ -35,8 +35,6 @@ #include "InjectedScriptBase.h" #include -#if ENABLE(INSPECTOR) - namespace JSC { class JSValue; } @@ -51,19 +49,16 @@ public: virtual ~InjectedScriptModule(); virtual String source() const = 0; virtual JSC::JSValue host(InjectedScriptManager*, JSC::ExecState*) const = 0; - virtual bool returnsObject() const = 0; protected: // Do not expose constructor in the child classes as well. Instead provide // a static factory method that would create a new instance of the class // and call its ensureInjected() method immediately. - InjectedScriptModule(const String& name); + explicit InjectedScriptModule(const String& name); void ensureInjected(InjectedScriptManager*, JSC::ExecState*); - void ensureInjected(InjectedScriptManager*, InjectedScript); + void ensureInjected(InjectedScriptManager*, const InjectedScript&); }; } // namespace Inspector -#endif // ENABLE(INSPECTOR) - #endif // InjectedScriptModule_h -- cgit v1.2.1