summaryrefslogtreecommitdiffstats
path: root/ppapi
diff options
context:
space:
mode:
authorbsy@google.com <bsy@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-14 17:25:45 +0000
committerbsy@google.com <bsy@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-14 17:25:45 +0000
commit595bfa8b392c172ff1b70c0d329d2bc1102ec242 (patch)
tree8fc89d14a49fa49dafae8fe2b022aba107abfd3c /ppapi
parentc3125e0cd04419e07a6eab1ab2a4f43b315027b8 (diff)
downloadchromium_src-595bfa8b392c172ff1b70c0d329d2bc1102ec242.zip
chromium_src-595bfa8b392c172ff1b70c0d329d2bc1102ec242.tar.gz
chromium_src-595bfa8b392c172ff1b70c0d329d2bc1102ec242.tar.bz2
update to use ALLOW_THIS_IN_INITIALIZER_LIST.
TBR=sehr@google.com Review URL: http://codereview.chromium.org/8276025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105510 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi')
-rw-r--r--ppapi/native_client/src/trusted/plugin/service_runtime.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/ppapi/native_client/src/trusted/plugin/service_runtime.cc b/ppapi/native_client/src/trusted/plugin/service_runtime.cc
index adf5d7e..cf1c29a 100644
--- a/ppapi/native_client/src/trusted/plugin/service_runtime.cc
+++ b/ppapi/native_client/src/trusted/plugin/service_runtime.cc
@@ -15,9 +15,11 @@
#include <utility>
#include <vector>
+#include "base/compiler_specific.h"
+
#include "native_client/src/include/portability_io.h"
-#include "native_client/src/include/nacl_scoped_ptr.h"
#include "native_client/src/include/nacl_macros.h"
+#include "native_client/src/include/nacl_scoped_ptr.h"
#include "native_client/src/include/nacl_string.h"
#include "native_client/src/shared/imc/nacl_imc.h"
#include "native_client/src/shared/platform/nacl_check.h"
@@ -90,7 +92,7 @@ void PluginReverseInterface::Log(nacl::string message) {
plugin::WeakRefCallOnMainThread(
anchor_,
0, /* delay in ms */
- this,
+ ALLOW_THIS_IN_INITIALIZER_LIST(this),
&plugin::PluginReverseInterface::Log_MainThreadContinuation,
continuation);
}