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

Unified Diff: sky/engine/core/events/EventDispatcher.cpp

Issue 889823002: Remove TRACE_EVENT indirection through blink::Platform (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | « sky/engine/core/dom/ScriptedAnimationController.cpp ('k') | sky/engine/core/frame/ConsoleBase.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/events/EventDispatcher.cpp
diff --git a/sky/engine/core/events/EventDispatcher.cpp b/sky/engine/core/events/EventDispatcher.cpp
index 03a1738c8b94a2ec24640d7c99507c36fc797e9a..77977681c885fe66597853d4fa4474572ca21d10 100644
--- a/sky/engine/core/events/EventDispatcher.cpp
+++ b/sky/engine/core/events/EventDispatcher.cpp
@@ -35,7 +35,6 @@
#include "sky/engine/core/events/WindowEventContext.h"
#include "sky/engine/core/frame/FrameView.h"
#include "sky/engine/core/frame/LocalDOMWindow.h"
-#include "sky/engine/core/inspector/InspectorTraceEvents.h"
#include "sky/engine/platform/EventDispatchForbiddenScope.h"
#include "sky/engine/platform/TraceEvent.h"
#include "sky/engine/wtf/RefPtr.h"
@@ -86,7 +85,6 @@ bool EventDispatcher::dispatch()
ASSERT(!EventDispatchForbiddenScope::isEventDispatchForbidden());
ASSERT(m_event->target());
WindowEventContext windowEventContext(m_event.get(), m_node.get(), topNodeEventContext());
- TRACE_EVENT1(TRACE_DISABLED_BY_DEFAULT("devtools.timeline"), "EventDispatch", "data", InspectorEventDispatchEvent::data(*m_event));
if (dispatchEventPreProcess() == ContinueDispatching)
if (dispatchEventAtCapturing(windowEventContext) == ContinueDispatching)
@@ -98,7 +96,6 @@ bool EventDispatcher::dispatch()
// outermost shadow DOM boundary.
m_event->setTarget(windowEventContext.target());
m_event->setCurrentTarget(0);
- TRACE_EVENT_INSTANT1(TRACE_DISABLED_BY_DEFAULT("devtools.timeline"), "UpdateCounters", TRACE_EVENT_SCOPE_PROCESS, "data", InspectorUpdateCountersEvent::data());
return !m_event->defaultPrevented();
}
« no previous file with comments | « sky/engine/core/dom/ScriptedAnimationController.cpp ('k') | sky/engine/core/frame/ConsoleBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698