Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(371)

Unified Diff: sky/engine/v8_inspector/ScriptDebugServer.cpp

Issue 754463004: Remove ScriptPreprocessor (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/v8_inspector/ScriptDebugServer.h ('k') | sky/engine/v8_inspector/ScriptPreprocessor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « sky/engine/v8_inspector/ScriptDebugServer.h ('k') | sky/engine/v8_inspector/ScriptPreprocessor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698