Index: Source/bindings/core/v8/ScriptDebugServer.cpp |
diff --git a/Source/bindings/core/v8/ScriptDebugServer.cpp b/Source/bindings/core/v8/ScriptDebugServer.cpp |
index 31975ce687232e89677ff3b6526d1f15f1acde6d..e27a06510d003b7d07c9c72e1f571c1fafb1dd84 100644 |
--- a/Source/bindings/core/v8/ScriptDebugServer.cpp |
+++ b/Source/bindings/core/v8/ScriptDebugServer.cpp |
@@ -529,9 +529,7 @@ void ScriptDebugServer::handleV8DebugEvent(const v8::Debug::EventDetails& eventD |
ScriptDebugListener* listener = getDebugListenerForContext(eventContext); |
if (listener) { |
v8::HandleScope scope(m_isolate); |
- if (event == v8::BeforeCompile) { |
- preprocessBeforeCompile(eventDetails); |
- } else if (event == v8::AfterCompile || event == v8::CompileError) { |
+ if (event == v8::AfterCompile || event == v8::CompileError) { |
v8::Context::Scope contextScope(v8::Debug::GetDebugContext()); |
v8::Handle<v8::Value> argv[] = { eventDetails.GetEventData() }; |
v8::Handle<v8::Value> value = callDebuggerMethod("getAfterCompileScript", 1, argv); |
@@ -752,14 +750,4 @@ void ScriptDebugServer::runScript(ScriptState* scriptState, const String& script |
} |
} |
-ScriptSourceCode ScriptDebugServer::preprocess(LocalFrame*, const ScriptSourceCode&) |
-{ |
- return ScriptSourceCode(); |
-} |
- |
-String ScriptDebugServer::preprocessEventListener(LocalFrame*, const String& source, const String& url, const String& functionName) |
-{ |
- return source; |
-} |
- |
} // namespace blink |