Index: Source/bindings/core/v8/PageScriptDebugServer.cpp |
diff --git a/Source/bindings/core/v8/PageScriptDebugServer.cpp b/Source/bindings/core/v8/PageScriptDebugServer.cpp |
index 264bb85d470417f11f9f29b112049030806d90b3..3b7e1d7e83826838a39595191e66d6a176c4f1c3 100644 |
--- a/Source/bindings/core/v8/PageScriptDebugServer.cpp |
+++ b/Source/bindings/core/v8/PageScriptDebugServer.cpp |
@@ -278,7 +278,7 @@ bool PageScriptDebugServer::canPreprocess(LocalFrame* frame) |
// Web page to ensure that the debugger's console initialization code has completed. |
if (!m_scriptPreprocessor) { |
TemporaryChange<bool> isPreprocessing(isCreatingPreprocessor, true); |
- m_scriptPreprocessor = adoptPtr(new ScriptPreprocessor(*m_preprocessorSourceCode.get(), frame)); |
+ m_scriptPreprocessor = adoptPtr(new ScriptPreprocessor(m_isolate, *m_preprocessorSourceCode.get(), frame)); |
} |
if (m_scriptPreprocessor->isValid()) |