Index: ui/views/widget/desktop_aura/desktop_screen_x11.cc |
diff --git a/ui/views/widget/desktop_aura/desktop_screen_x11.cc b/ui/views/widget/desktop_aura/desktop_screen_x11.cc |
index c54378e1857ba7a2baf59ae8aa5ab07a5fd24a22..7b99790e4ada1ec08d000fa58006f99435d7c342 100644 |
--- a/ui/views/widget/desktop_aura/desktop_screen_x11.cc |
+++ b/ui/views/widget/desktop_aura/desktop_screen_x11.cc |
@@ -10,6 +10,7 @@ |
// It clashes with out RootWindow. |
#undef RootWindow |
+#include "base/debug/trace_event.h" |
#include "base/logging.h" |
#include "base/x11/edid_parser_x11.h" |
#include "ui/aura/root_window.h" |
@@ -132,6 +133,8 @@ bool DesktopScreenX11::IsDIPEnabled() { |
} |
gfx::Point DesktopScreenX11::GetCursorScreenPoint() { |
+ TRACE_EVENT0("views", "DesktopScreenX11::GetCursorScreenPoint()"); |
+ |
XDisplay* display = gfx::GetXDisplay(); |
::Window root, child; |