summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/v8/ScriptScope.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/v8/ScriptScope.cpp')
-rw-r--r--WebCore/bindings/v8/ScriptScope.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/WebCore/bindings/v8/ScriptScope.cpp b/WebCore/bindings/v8/ScriptScope.cpp
index 52cab10..727ab25 100644
--- a/WebCore/bindings/v8/ScriptScope.cpp
+++ b/WebCore/bindings/v8/ScriptScope.cpp
@@ -36,14 +36,13 @@
#include "Document.h"
#include "Frame.h"
#include "V8Binding.h"
-#include "V8Proxy.h"
#include <v8.h>
namespace WebCore {
ScriptScope::ScriptScope(ScriptState* scriptState, bool reportExceptions)
- : m_context(V8Proxy::context(scriptState->frame()))
+ : m_context(scriptState->context())
, m_scope(m_context)
, m_scriptState(scriptState)
, m_reportExceptions(reportExceptions)