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

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

Issue 772563003: Move many of v8_inspector dependencies out of core/ (Closed) Base URL: git@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/PageScriptDebugServer.h ('k') | sky/engine/v8_inspector/PromiseTracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/v8_inspector/PageScriptDebugServer.cpp
diff --git a/sky/engine/v8_inspector/PageScriptDebugServer.cpp b/sky/engine/v8_inspector/PageScriptDebugServer.cpp
index f52dfc7492539dc348708ed2942c9dc82a6099f0..32c6ece99ef85560eafacca16e037d1efc5488a4 100644
--- a/sky/engine/v8_inspector/PageScriptDebugServer.cpp
+++ b/sky/engine/v8_inspector/PageScriptDebugServer.cpp
@@ -41,16 +41,13 @@
#include "sky/engine/core/dom/ExecutionContext.h"
#include "sky/engine/core/frame/FrameConsole.h"
#include "sky/engine/core/frame/LocalFrame.h"
-#include "sky/engine/core/frame/UseCounter.h"
#include "sky/engine/core/inspector/InspectorTraceEvents.h"
-#include "sky/engine/core/inspector/ScriptDebugListener.h"
-#include "sky/engine/core/page/Page.h"
#include "sky/engine/v8_inspector/inspector_host.h"
+#include "sky/engine/v8_inspector/ScriptDebugListener.h"
#include "sky/engine/wtf/OwnPtr.h"
#include "sky/engine/wtf/PassOwnPtr.h"
#include "sky/engine/wtf/StdLibExtras.h"
#include "sky/engine/wtf/TemporaryChange.h"
-#include "sky/engine/wtf/text/StringBuilder.h"
namespace blink {
@@ -261,7 +258,7 @@ bool PageScriptDebugServer::canPreprocess(LocalFrame* frame)
{
ASSERT(frame);
- if (!m_preprocessorSourceCode || !frame->page() || isCreatingPreprocessor)
+ if (!m_preprocessorSourceCode || isCreatingPreprocessor)
return false;
// We delay the creation of the preprocessor until just before the first JS from the
@@ -306,13 +303,13 @@ void PageScriptDebugServer::clearPreprocessor()
void PageScriptDebugServer::muteWarningsAndDeprecations()
{
FrameConsole::mute();
- UseCounter::muteForInspector();
+ // Used to mute UseCounter too.
}
void PageScriptDebugServer::unmuteWarningsAndDeprecations()
{
FrameConsole::unmute();
- UseCounter::unmuteForInspector();
+ // Used to unmute UseCounter too.
}
} // namespace blink
« no previous file with comments | « sky/engine/v8_inspector/PageScriptDebugServer.h ('k') | sky/engine/v8_inspector/PromiseTracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698