summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/dispatcher.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/proxy/dispatcher.cc')
-rw-r--r--ppapi/proxy/dispatcher.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/ppapi/proxy/dispatcher.cc b/ppapi/proxy/dispatcher.cc
index 3a0f5a4..476f403 100644
--- a/ppapi/proxy/dispatcher.cc
+++ b/ppapi/proxy/dispatcher.cc
@@ -8,6 +8,7 @@
#include <map>
+#include "base/compiler_specific.h"
#include "base/logging.h"
#include "ipc/ipc_message.h"
#include "ipc/ipc_sync_channel.h"
@@ -45,7 +46,7 @@ Dispatcher::Dispatcher(GetInterfaceFunc local_get_interface)
disallow_trusted_interfaces_(true),
local_get_interface_(local_get_interface),
declared_supported_remote_interfaces_(false),
- callback_tracker_(this) {
+ callback_tracker_(ALLOW_THIS_IN_INITIALIZER_LIST(this)) {
memset(id_to_proxy_, 0,
static_cast<int>(INTERFACE_ID_COUNT) * sizeof(InterfaceProxy*));
}