Index: content/gpu/gpu_main.cc |
diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc |
index 221361feae2df5fe75e05fa3fe72fc60ca889f83..80084906e4285a92c0a50c2d1630c411971824a0 100644 |
--- a/content/gpu/gpu_main.cc |
+++ b/content/gpu/gpu_main.cc |
@@ -9,6 +9,7 @@ |
#endif |
#include "base/debug/trace_event.h" |
+#include "base/debug/trace_event_memory.h" |
#include "base/lazy_instance.h" |
#include "base/message_loop.h" |
#include "base/rand_util.h" |
@@ -291,6 +292,8 @@ int GpuMain(const MainFunctionParams& parameters) { |
gpu_process.set_main_thread(child_thread); |
{ |
+ base::debug::TraceMemoryController trace_memory_controller( |
+ main_message_loop.message_loop_proxy()); |
TRACE_EVENT0("gpu", "Run Message Loop"); |
main_message_loop.Run(); |
} |