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/InjectedScriptManager.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Source/JavaScriptCore/inspector/InjectedScriptManager.h') diff --git a/Source/JavaScriptCore/inspector/InjectedScriptManager.h b/Source/JavaScriptCore/inspector/InjectedScriptManager.h index bcc64e2a4..e18d7cd46 100644 --- a/Source/JavaScriptCore/inspector/InjectedScriptManager.h +++ b/Source/JavaScriptCore/inspector/InjectedScriptManager.h @@ -11,7 +11,7 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of + * 3. Neither the name of Apple Inc. ("Apple") nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * @@ -54,6 +54,7 @@ public: virtual ~InjectedScriptManager(); virtual void disconnect(); + virtual void discardInjectedScripts(); InjectedScriptHost* injectedScriptHost(); InspectorEnvironment& inspectorEnvironment() const { return m_environment; } @@ -62,11 +63,11 @@ public: InjectedScript injectedScriptForId(int); int injectedScriptIdFor(JSC::ExecState*); InjectedScript injectedScriptForObjectId(const String& objectId); - void discardInjectedScripts(); void releaseObjectGroup(const String& objectGroup); + void clearExceptionValue(); protected: - virtual void didCreateInjectedScript(InjectedScript); + virtual void didCreateInjectedScript(const InjectedScript&); HashMap m_idToInjectedScript; HashMap m_scriptStateToId; -- cgit v1.2.1