| Index: ppapi/proxy/plugin_dispatcher.cc
|
| diff --git a/ppapi/proxy/plugin_dispatcher.cc b/ppapi/proxy/plugin_dispatcher.cc
|
| index 26a35e3fe37f2d98bc78cbf4f74b7c4b3361560e..4c3d287d3fe455a0e0af49bd2bd089955162e9d5 100644
|
| --- a/ppapi/proxy/plugin_dispatcher.cc
|
| +++ b/ppapi/proxy/plugin_dispatcher.cc
|
| @@ -10,7 +10,7 @@
|
| #include "base/logging.h"
|
| #include "ipc/ipc_message.h"
|
| #include "ipc/ipc_sync_channel.h"
|
| -#include "gpu/common/gpu_trace_event.h"
|
| +#include "base/debug/trace_event.h"
|
| #include "ppapi/c/pp_errors.h"
|
| #include "ppapi/proxy/interface_proxy.h"
|
| #include "ppapi/proxy/plugin_message_filter.h"
|
| @@ -86,9 +86,9 @@ bool PluginDispatcher::IsPlugin() const {
|
| }
|
|
|
| bool PluginDispatcher::Send(IPC::Message* msg) {
|
| - GPU_TRACE_EVENT2("ppapi proxy", "PluginDispatcher::Send",
|
| - "Class", IPC_MESSAGE_ID_CLASS(msg->type()),
|
| - "Line", IPC_MESSAGE_ID_LINE(msg->type()));
|
| + TRACE_EVENT2("ppapi proxy", "PluginDispatcher::Send",
|
| + "Class", IPC_MESSAGE_ID_CLASS(msg->type()),
|
| + "Line", IPC_MESSAGE_ID_LINE(msg->type()));
|
| // We always want plugin->renderer messages to arrive in-order. If some sync
|
| // and some async messages are send in response to a synchronous
|
| // renderer->plugin call, the sync reply will be processed before the async
|
| @@ -101,9 +101,9 @@ bool PluginDispatcher::Send(IPC::Message* msg) {
|
| }
|
|
|
| bool PluginDispatcher::OnMessageReceived(const IPC::Message& msg) {
|
| - GPU_TRACE_EVENT2("ppapi proxy", "PluginDispatcher::OnMessageReceived",
|
| - "Class", IPC_MESSAGE_ID_CLASS(msg.type()),
|
| - "Line", IPC_MESSAGE_ID_LINE(msg.type()));
|
| + TRACE_EVENT2("ppapi proxy", "PluginDispatcher::OnMessageReceived",
|
| + "Class", IPC_MESSAGE_ID_CLASS(msg.type()),
|
| + "Line", IPC_MESSAGE_ID_LINE(msg.type()));
|
| // Handle common control messages.
|
| if (Dispatcher::OnMessageReceived(msg))
|
| return true;
|
|
|