summaryrefslogtreecommitdiffstats
path: root/WebCore/inspector/InjectedScript.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/inspector/InjectedScript.h')
-rw-r--r--WebCore/inspector/InjectedScript.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/WebCore/inspector/InjectedScript.h b/WebCore/inspector/InjectedScript.h
index 17389ba..f80cfb4 100644
--- a/WebCore/inspector/InjectedScript.h
+++ b/WebCore/inspector/InjectedScript.h
@@ -54,6 +54,7 @@ public:
#endif
PassRefPtr<InspectorValue> wrapForConsole(ScriptValue);
void releaseWrapperObjectGroup(const String&);
+ ScriptState* scriptState() const { return m_injectedScriptObject.scriptState(); }
private:
friend InjectedScript InjectedScriptHost::injectedScriptFor(ScriptState*);