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

Unified Diff: Source/core/inspector/PageDebuggerAgent.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/InspectorPageAgent.cpp ('k') | Source/devtools/front_end/extensions/ExtensionAPI.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/PageDebuggerAgent.cpp
diff --git a/Source/core/inspector/PageDebuggerAgent.cpp b/Source/core/inspector/PageDebuggerAgent.cpp
index 85f82633679bbc4a7c94729dbe0a07e4b23bd2eb..bfac54e4d932adf13cda885add970999ee6b6135 100644
--- a/Source/core/inspector/PageDebuggerAgent.cpp
+++ b/Source/core/inspector/PageDebuggerAgent.cpp
@@ -147,13 +147,7 @@ void PageDebuggerAgent::didClearDocumentOfWindowObject(LocalFrame* frame)
// FIXME: what about nested objects?
if (frame != m_pageAgent->inspectedFrame())
return;
-
reset();
-
- scriptDebugServer().setPreprocessorSource(String());
- ASSERT(m_pageAgent);
- if (!m_pageAgent->scriptPreprocessorSource().isEmpty())
- scriptDebugServer().setPreprocessorSource(m_pageAgent->scriptPreprocessorSource());
}
void PageDebuggerAgent::didCommitLoad(LocalFrame* frame, DocumentLoader* loader)
« no previous file with comments | « Source/core/inspector/InspectorPageAgent.cpp ('k') | Source/devtools/front_end/extensions/ExtensionAPI.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698