Index: gpu/command_buffer/client/cmd_buffer_helper.cc |
diff --git a/gpu/command_buffer/client/cmd_buffer_helper.cc b/gpu/command_buffer/client/cmd_buffer_helper.cc |
index d3eaca1be171c9291aa84aef2a7ee2d71c48a7b9..4821db3fe694cf363a5b9ff7443375cf646c689a 100644 |
--- a/gpu/command_buffer/client/cmd_buffer_helper.cc |
+++ b/gpu/command_buffer/client/cmd_buffer_helper.cc |
@@ -6,7 +6,7 @@ |
#include "../client/cmd_buffer_helper.h" |
#include "../common/command_buffer.h" |
-#include "gpu/common/gpu_trace_event.h" |
+#include "base/debug/trace_event.h" |
namespace gpu { |
@@ -123,7 +123,7 @@ void CommandBufferHelper::WaitForAvailableEntries(int32 count) { |
// put will wrap to 0 after we add the jump). |
GPU_DCHECK_LE(1, put_); |
if (get_ > put_ || get_ == 0) { |
- GPU_TRACE_EVENT0("gpu", "CommandBufferHelper::WaitForAvailableEntries"); |
+ TRACE_EVENT0("gpu", "CommandBufferHelper::WaitForAvailableEntries"); |
while (get_ > put_ || get_ == 0) { |
// Do not loop forever if the flush fails, meaning the command buffer |
// reader has shutdown. |
@@ -136,7 +136,7 @@ void CommandBufferHelper::WaitForAvailableEntries(int32 count) { |
put_ = 0; |
} |
if (AvailableEntries() < count) { |
- GPU_TRACE_EVENT0("gpu", "CommandBufferHelper::WaitForAvailableEntries1"); |
+ TRACE_EVENT0("gpu", "CommandBufferHelper::WaitForAvailableEntries1"); |
while (AvailableEntries() < count) { |
// Do not loop forever if the flush fails, meaning the command buffer |
// reader has shutdown. |