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

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

Issue 771323002: Remove a couple more core/ header includes from v8_inspector (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
Index: sky/engine/v8_inspector/PageScriptDebugServer.cpp
diff --git a/sky/engine/v8_inspector/PageScriptDebugServer.cpp b/sky/engine/v8_inspector/PageScriptDebugServer.cpp
index 32c6ece99ef85560eafacca16e037d1efc5488a4..f58ffd36aef17376cf91c40f8ab3f4e8af806b0a 100644
--- a/sky/engine/v8_inspector/PageScriptDebugServer.cpp
+++ b/sky/engine/v8_inspector/PageScriptDebugServer.cpp
@@ -184,7 +184,7 @@ void PageScriptDebugServer::runScript(ScriptState* scriptState, const String& sc
ExecutionContext* executionContext = scriptState->executionContext();
LocalFrame* frame = executionContext->executingWindow()->frame();
- TRACE_EVENT1(TRACE_DISABLED_BY_DEFAULT("devtools.timeline"), "EvaluateScript", "data", InspectorEvaluateScriptEvent::data(frame, sourceURL, TextPosition::minimumPosition().m_line.oneBasedInt()));
+ TRACE_EVENT1(TRACE_DISABLED_BY_DEFAULT("devtools.timeline"), "EvaluateScript", "data", InspectorEvaluateScriptEvent::data(sourceURL, TextPosition::minimumPosition().m_line.oneBasedInt()));
TRACE_EVENT_INSTANT1(TRACE_DISABLED_BY_DEFAULT("devtools.timeline.stack"), "CallStack", TRACE_EVENT_SCOPE_PROCESS, "stack", InspectorCallStackEvent::currentCallStack());
RefPtr<LocalFrame> protect = frame;
@@ -300,16 +300,4 @@ void PageScriptDebugServer::clearPreprocessor()
m_scriptPreprocessor.clear();
}
-void PageScriptDebugServer::muteWarningsAndDeprecations()
-{
- FrameConsole::mute();
- // Used to mute UseCounter too.
-}
-
-void PageScriptDebugServer::unmuteWarningsAndDeprecations()
-{
- FrameConsole::unmute();
- // Used to unmute UseCounter too.
-}
-
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698