Index: content/renderer/command_buffer_proxy.cc |
=================================================================== |
--- content/renderer/command_buffer_proxy.cc (revision 84493) |
+++ content/renderer/command_buffer_proxy.cc (working copy) |
@@ -4,7 +4,6 @@ |
#include "content/renderer/command_buffer_proxy.h" |
-#include "base/debug/trace_event.h" |
#include "base/logging.h" |
#include "base/process_util.h" |
#include "base/shared_memory.h" |
@@ -15,6 +14,7 @@ |
#include "content/renderer/plugin_channel_host.h" |
#include "content/renderer/render_thread.h" |
#include "gpu/command_buffer/common/cmd_buffer_common.h" |
+#include "gpu/common/gpu_trace_event.h" |
#include "ui/gfx/size.h" |
using gpu::Buffer; |
@@ -158,7 +158,7 @@ |
gpu::CommandBuffer::State CommandBufferProxy::FlushSync(int32 put_offset, |
int32 last_known_get) { |
- TRACE_EVENT0("gpu", "CommandBufferProxy::FlushSync"); |
+ GPU_TRACE_EVENT0("gpu", "CommandBufferProxy::FlushSync"); |
if (last_known_get == last_state_.get_offset) { |
// Send will flag state with lost context if IPC fails. |
if (last_state_.error == gpu::error::kNoError) { |