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

Unified Diff: Source/core/inspector/InspectorDebuggerAgent.cpp

Issue 761143003: DevTools: remove ScriptPreprocessor (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 5 years, 10 months 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 | « Source/core/inspector/InspectorDebuggerAgent.h ('k') | Source/core/inspector/InspectorInstrumentation.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorDebuggerAgent.cpp
diff --git a/Source/core/inspector/InspectorDebuggerAgent.cpp b/Source/core/inspector/InspectorDebuggerAgent.cpp
index bc6e39af44dd22ac01dae9da13a8baf1e1711f01..d9722c0b4e0bcbd8434067a50726c68eadbcb131 100644
--- a/Source/core/inspector/InspectorDebuggerAgent.cpp
+++ b/Source/core/inspector/InspectorDebuggerAgent.cpp
@@ -198,7 +198,6 @@ void InspectorDebuggerAgent::disable()
scriptDebugServer().clearBreakpoints();
scriptDebugServer().clearCompiledScripts();
- scriptDebugServer().clearPreprocessor();
stopListeningScriptDebugServer();
clear();
@@ -334,16 +333,6 @@ void InspectorDebuggerAgent::addMessageToConsole(ConsoleMessage* consoleMessage)
breakProgram(InspectorFrontend::Debugger::Reason::Assert, nullptr);
}
-String InspectorDebuggerAgent::preprocessEventListener(LocalFrame* frame, const String& source, const String& url, const String& functionName)
-{
- return scriptDebugServer().preprocessEventListener(frame, source, url, functionName);
-}
-
-ScriptSourceCode InspectorDebuggerAgent::preprocess(LocalFrame* frame, const ScriptSourceCode& sourceCode)
-{
- return scriptDebugServer().preprocess(frame, sourceCode);
-}
-
static PassRefPtr<JSONObject> buildObjectForBreakpointCookie(const String& url, int lineNumber, int columnNumber, const String& condition, bool isRegex)
{
RefPtr<JSONObject> breakpointObject = JSONObject::create();
« no previous file with comments | « Source/core/inspector/InspectorDebuggerAgent.h ('k') | Source/core/inspector/InspectorInstrumentation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698