Index: chrome/browser/gpu_process_host_ui_shim.cc |
diff --git a/chrome/browser/gpu_process_host_ui_shim.cc b/chrome/browser/gpu_process_host_ui_shim.cc |
index 380a37ccd8afb4304e7e6f075db57a7437bb7fd1..bc5b9da0984fd2945b737233c1887b895ab14718 100644 |
--- a/chrome/browser/gpu_process_host_ui_shim.cc |
+++ b/chrome/browser/gpu_process_host_ui_shim.cc |
@@ -15,6 +15,7 @@ |
#include "content/browser/renderer_host/render_view_host.h" |
#include "content/browser/renderer_host/render_widget_host_view.h" |
#include "content/common/gpu_messages.h" |
+#include "gpu/common/gpu_trace_event.h" |
#if defined(OS_LINUX) |
// These two #includes need to come after gpu_messages.h. |
@@ -269,6 +270,7 @@ void GpuProcessHostUIShim::EstablishGpuChannel( |
int renderer_id, |
EstablishChannelCallback *callback) { |
DCHECK(CalledOnValidThread()); |
+ GPU_TRACE_EVENT0("gpu", "GpuProcessHostUIShim::EstablishGpuChannel"); |
linked_ptr<EstablishChannelCallback> wrapped_callback(callback); |
// If GPU features are already blacklisted, no need to establish the channel. |
@@ -539,4 +541,3 @@ void GpuProcessHostUIShim::OnScheduleComposite(int renderer_id, |
} |
#endif |
- |