Index: ppapi/proxy/host_dispatcher.cc |
diff --git a/ppapi/proxy/host_dispatcher.cc b/ppapi/proxy/host_dispatcher.cc |
index 14820966fcdae7508c83d344bba461c8cf311bf2..c3acc5e40f24129185e25f7115e33e3b6e15151f 100644 |
--- a/ppapi/proxy/host_dispatcher.cc |
+++ b/ppapi/proxy/host_dispatcher.cc |
@@ -6,8 +6,8 @@ |
#include <map> |
+#include "base/debug/trace_event.h" |
#include "base/logging.h" |
-#include "gpu/common/gpu_trace_event.h" |
#include "ppapi/c/private/ppb_proxy_private.h" |
#include "ppapi/c/dev/ppb_var_deprecated.h" |
#include "ppapi/proxy/host_var_serialization_rules.h" |
@@ -129,9 +129,9 @@ bool HostDispatcher::IsPlugin() const { |
} |
bool HostDispatcher::Send(IPC::Message* msg) { |
- GPU_TRACE_EVENT2("ppapi proxy", "HostDispatcher::Send", |
- "Class", IPC_MESSAGE_ID_CLASS(msg->type()), |
- "Line", IPC_MESSAGE_ID_LINE(msg->type())); |
+ TRACE_EVENT2("ppapi proxy", "HostDispatcher::Send", |
+ "Class", IPC_MESSAGE_ID_CLASS(msg->type()), |
+ "Line", IPC_MESSAGE_ID_LINE(msg->type())); |
// Normal sync messages are set to unblock, which would normally cause the |
// plugin to be reentered to process them. We only want to do this when we |
// know the plugin is in a state to accept reentrancy. Since the plugin side |
@@ -143,9 +143,9 @@ bool HostDispatcher::Send(IPC::Message* msg) { |
} |
bool HostDispatcher::OnMessageReceived(const IPC::Message& msg) { |
- GPU_TRACE_EVENT2("ppapi proxy", "HostDispatcher::OnMessageReceived", |
- "Class", IPC_MESSAGE_ID_CLASS(msg.type()), |
- "Line", IPC_MESSAGE_ID_LINE(msg.type())); |
+ TRACE_EVENT2("ppapi proxy", "HostDispatcher::OnMessageReceived", |
+ "Class", IPC_MESSAGE_ID_CLASS(msg.type()), |
+ "Line", IPC_MESSAGE_ID_LINE(msg.type())); |
// We only want to allow reentrancy when the most recent message from the |
// plugin was a scripting message. We save the old state of the flag on the |
// stack in case we're (we are the host) being reentered ourselves. The flag |