summaryrefslogtreecommitdiffstats
path: root/content/renderer/command_buffer_proxy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/renderer/command_buffer_proxy.cc')
-rw-r--r--content/renderer/command_buffer_proxy.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/renderer/command_buffer_proxy.cc b/content/renderer/command_buffer_proxy.cc
index e50f0e4..6a1c06c 100644
--- a/content/renderer/command_buffer_proxy.cc
+++ b/content/renderer/command_buffer_proxy.cc
@@ -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 @@ void CommandBufferProxy::Flush(int32 put_offset) {
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) {