| Index: sky/engine/v8_inspector/ScriptDebugServer.cpp
|
| diff --git a/sky/engine/v8_inspector/ScriptDebugServer.cpp b/sky/engine/v8_inspector/ScriptDebugServer.cpp
|
| index 6eb9176aae70d2c91835f7a9352089814c3cf997..676d4d1f2e4e9c4608da684c70565e340ab7ca4d 100644
|
| --- a/sky/engine/v8_inspector/ScriptDebugServer.cpp
|
| +++ b/sky/engine/v8_inspector/ScriptDebugServer.cpp
|
| @@ -496,9 +496,7 @@ void ScriptDebugServer::handleV8DebugEvent(const v8::Debug::EventDetails& eventD
|
| if (listener) {
|
| v8::HandleScope scope(m_isolate);
|
| v8::Handle<v8::Object> debuggerScript = m_debuggerScript.newLocal(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::Function> getAfterCompileScript = v8::Local<v8::Function>::Cast(debuggerScript->Get(v8AtomicString(m_isolate, "getAfterCompileScript")));
|
| v8::Handle<v8::Value> argv[] = { eventDetails.GetEventData() };
|
| @@ -703,14 +701,4 @@ void ScriptDebugServer::runScript(ScriptState* scriptState, const String& script
|
| }
|
| }
|
|
|
| -PassOwnPtr<ScriptSourceCode> ScriptDebugServer::preprocess(LocalFrame*, const ScriptSourceCode&)
|
| -{
|
| - return PassOwnPtr<ScriptSourceCode>();
|
| -}
|
| -
|
| -String ScriptDebugServer::preprocessEventListener(LocalFrame*, const String& source, const String& url, const String& functionName)
|
| -{
|
| - return source;
|
| -}
|
| -
|
| } // namespace blink
|
|
|