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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScheduledAction.cpp

Issue 2106663003: Remove LogTimers for WTF_LOG(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « no previous file | third_party/WebKit/Source/platform/Logging.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/bindings/core/v8/ScheduledAction.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScheduledAction.cpp b/third_party/WebKit/Source/bindings/core/v8/ScheduledAction.cpp
index fa7d16e6b93a8e911175cf2bcd39bb0233f398c6..7ef45d5b4d037dc4a5a1822504b3442981d4b292 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScheduledAction.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ScheduledAction.cpp
@@ -70,16 +70,16 @@ void ScheduledAction::execute(ExecutionContext* context)
if (context->isDocument()) {
LocalFrame* frame = toDocument(context)->frame();
if (!frame) {
- WTF_LOG(Timers, "ScheduledAction::execute %p: no frame", this);
+ DVLOG(1) << "ScheduledAction::execute " << this << ": no frame";
return;
}
if (!frame->script().canExecuteScripts(AboutToExecuteScript)) {
- WTF_LOG(Timers, "ScheduledAction::execute %p: frame can not execute scripts", this);
+ DVLOG(1) << "ScheduledAction::execute " << this << ": frame can not execute scripts";
return;
}
execute(frame);
} else {
- WTF_LOG(Timers, "ScheduledAction::execute %p: worker scope", this);
+ DVLOG(1) << "ScheduledAction::execute " << this << ": worker scope";
execute(toWorkerGlobalScope(context));
}
}
@@ -106,19 +106,19 @@ ScheduledAction::ScheduledAction(ScriptState* scriptState, const String& code)
void ScheduledAction::execute(LocalFrame* frame)
{
if (!m_scriptState->contextIsValid()) {
- WTF_LOG(Timers, "ScheduledAction::execute %p: context is empty", this);
+ DVLOG(1) << "ScheduledAction::execute " << this << ": context is empty";
return;
}
TRACE_EVENT0("v8", "ScheduledAction::execute");
ScriptState::Scope scope(m_scriptState.get());
if (!m_function.isEmpty()) {
- WTF_LOG(Timers, "ScheduledAction::execute %p: have function", this);
+ DVLOG(1) << "ScheduledAction::execute " << this << ": have function";
Vector<v8::Local<v8::Value>> info;
createLocalHandlesForArgs(&info);
frame->script().callFunction(m_function.newLocal(m_scriptState->isolate()), m_scriptState->context()->Global(), info.size(), info.data());
} else {
- WTF_LOG(Timers, "ScheduledAction::execute %p: executing from source", this);
+ DVLOG(1) << "ScheduledAction::execute " << this << ": executing from source";
frame->script().executeScriptAndReturnValue(m_scriptState->context(), ScriptSourceCode(m_code));
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/Logging.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698