Index: sky/compositor/layer.cc |
diff --git a/sky/compositor/layer.cc b/sky/compositor/layer.cc |
index 7631db72c2d242658381da9410ce1adaeb1154b9..8d2ec8bc811276c8cc19093c7707a95ef7718221 100644 |
--- a/sky/compositor/layer.cc |
+++ b/sky/compositor/layer.cc |
@@ -4,6 +4,7 @@ |
#include "sky/compositor/layer.h" |
+#include "base/debug/trace_event.h" |
#include "mojo/skia/ganesh_surface.h" |
#include "sky/compositor/layer_host.h" |
#include "third_party/skia/include/core/SkCanvas.h" |
@@ -25,6 +26,8 @@ void Layer::SetSize(const gfx::Size& size) { |
} |
void Layer::Display() { |
+ TRACE_EVENT0("sky", "Layer::Display"); |
+ |
DCHECK(host_); |
mojo::GaneshSurface surface(host_->ganesh_context(), |