summaryrefslogtreecommitdiffstats
path: root/ppapi
diff options
context:
space:
mode:
authorvadimt <vadimt@chromium.org>2014-09-25 15:08:59 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-25 22:09:13 +0000
commita19e4877974a6a0cfc53f92c1496a8f995fe2614 (patch)
treec04d9239d76317558ae584c6274dd6c0aedf3ec2 /ppapi
parentab5a96fa6cec2efe3e096e07b2eef466340de225 (diff)
downloadchromium_src-a19e4877974a6a0cfc53f92c1496a8f995fe2614.zip
chromium_src-a19e4877974a6a0cfc53f92c1496a8f995fe2614.tar.gz
chromium_src-a19e4877974a6a0cfc53f92c1496a8f995fe2614.tar.bz2
Adding tracking to verify the theory that jankiness of ExtensionMessageFilter::OnExtensionAddListener is because of the observer invocation.
BUG=401560, 417106 Review URL: https://codereview.chromium.org/600213002 Cr-Commit-Position: refs/heads/master@{#296804}
Diffstat (limited to 'ppapi')
-rw-r--r--ppapi/host/dispatch_host_message.h6
-rw-r--r--ppapi/proxy/dispatch_reply_message.h1
2 files changed, 3 insertions, 4 deletions
diff --git a/ppapi/host/dispatch_host_message.h b/ppapi/host/dispatch_host_message.h
index 2498725..218b8f7 100644
--- a/ppapi/host/dispatch_host_message.h
+++ b/ppapi/host/dispatch_host_message.h
@@ -10,7 +10,7 @@
#ifndef PPAPI_HOST_DISPATCH_HOST_MESSAGE_H_
#define PPAPI_HOST_DISPATCH_HOST_MESSAGE_H_
-#include "base/profiler/scoped_profile.h" // For TRACK_RUN_IN_IPC_HANDLER.
+#include "base/profiler/scoped_profile.h"
#include "ipc/ipc_message_macros.h"
#include "ppapi/c/pp_errors.h"
@@ -66,7 +66,7 @@ inline int32_t DispatchResourceCall(ObjT* obj, Method method,
// no params in the message).
#define PPAPI_DISPATCH_HOST_RESOURCE_CALL(msg_class, member_func) \
case msg_class::ID: { \
- TRACK_RUN_IN_IPC_HANDLER(member_func); \
+ TRACK_RUN_IN_THIS_SCOPED_REGION(member_func); \
msg_class::Schema::Param p; \
if (msg_class::Read(&ipc_message__, &p)) { \
return ppapi::host::DispatchResourceCall( \
@@ -79,7 +79,7 @@ inline int32_t DispatchResourceCall(ObjT* obj, Method method,
#define PPAPI_DISPATCH_HOST_RESOURCE_CALL_0(msg_class, member_func) \
case msg_class::ID: { \
- TRACK_RUN_IN_IPC_HANDLER(member_func); \
+ TRACK_RUN_IN_THIS_SCOPED_REGION(member_func); \
return member_func(context); \
}
diff --git a/ppapi/proxy/dispatch_reply_message.h b/ppapi/proxy/dispatch_reply_message.h
index ce4c602..56a4508 100644
--- a/ppapi/proxy/dispatch_reply_message.h
+++ b/ppapi/proxy/dispatch_reply_message.h
@@ -11,7 +11,6 @@
#define PPAPI_PROXY_DISPATCH_REPLY_MESSAGE_H_
#include "base/callback.h"
-#include "base/profiler/scoped_profile.h" // For TRACK_RUN_IN_IPC_HANDLER.
#include "ipc/ipc_message_macros.h"
#include "ppapi/c/pp_errors.h"