Commit c6bd676c authored by oshima's avatar oshima Committed by Commit bot

Add event trace to DispatchEvent on ozone

BUG=450711

Review URL: https://codereview.chromium.org/967403005

Cr-Commit-Position: refs/heads/master@{#318950}
parent 3490af83
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
#include "ui/aura/window_tree_host_ozone.h" #include "ui/aura/window_tree_host_ozone.h"
#include "base/trace_event/trace_event.h"
#include "ui/aura/window_event_dispatcher.h" #include "ui/aura/window_event_dispatcher.h"
#include "ui/ozone/public/ozone_platform.h" #include "ui/ozone/public/ozone_platform.h"
#include "ui/platform_window/platform_window.h" #include "ui/platform_window/platform_window.h"
...@@ -81,6 +82,7 @@ void WindowTreeHostOzone::OnDamageRect(const gfx::Rect& damaged_region) { ...@@ -81,6 +82,7 @@ void WindowTreeHostOzone::OnDamageRect(const gfx::Rect& damaged_region) {
} }
void WindowTreeHostOzone::DispatchEvent(ui::Event* event) { void WindowTreeHostOzone::DispatchEvent(ui::Event* event) {
TRACE_EVENT0("input", "WindowTreeHostOzone::DispatchEvent");
SendEventToProcessor(event); SendEventToProcessor(event);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment