diff options
Diffstat (limited to 'ppapi/tests')
-rw-r--r-- | ppapi/tests/test_flash.cc | 2 | ||||
-rw-r--r-- | ppapi/tests/test_flash_drm.cc | 2 | ||||
-rw-r--r-- | ppapi/tests/test_flash_message_loop.cc | 2 | ||||
-rw-r--r-- | ppapi/tests/test_message_loop.cc | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/ppapi/tests/test_flash.cc b/ppapi/tests/test_flash.cc index bb999fd..c854de5 100644 --- a/ppapi/tests/test_flash.cc +++ b/ppapi/tests/test_flash.cc @@ -19,7 +19,7 @@ using pp::Var; TestFlash::TestFlash(TestingInstance* instance) : TestCase(instance), - PP_ALLOW_THIS_IN_INITIALIZER_LIST(callback_factory_(this)) { + callback_factory_(this) { } void TestFlash::RunTests(const std::string& filter) { diff --git a/ppapi/tests/test_flash_drm.cc b/ppapi/tests/test_flash_drm.cc index 7fade64..8daf18d 100644 --- a/ppapi/tests/test_flash_drm.cc +++ b/ppapi/tests/test_flash_drm.cc @@ -32,7 +32,7 @@ namespace { TestFlashDRM::TestFlashDRM(TestingInstance* instance) : TestCase(instance), - PP_ALLOW_THIS_IN_INITIALIZER_LIST(callback_factory_(this)) { + callback_factory_(this) { } void TestFlashDRM::RunTests(const std::string& filter) { diff --git a/ppapi/tests/test_flash_message_loop.cc b/ppapi/tests/test_flash_message_loop.cc index f5dd3b8a..e7cb318 100644 --- a/ppapi/tests/test_flash_message_loop.cc +++ b/ppapi/tests/test_flash_message_loop.cc @@ -16,7 +16,7 @@ REGISTER_TEST_CASE(FlashMessageLoop); TestFlashMessageLoop::TestFlashMessageLoop(TestingInstance* instance) : TestCase(instance), message_loop_(NULL), - PP_ALLOW_THIS_IN_INITIALIZER_LIST(callback_factory_(this)) { + callback_factory_(this) { } TestFlashMessageLoop::~TestFlashMessageLoop() { diff --git a/ppapi/tests/test_message_loop.cc b/ppapi/tests/test_message_loop.cc index 475d9b2..31ef4b7 100644 --- a/ppapi/tests/test_message_loop.cc +++ b/ppapi/tests/test_message_loop.cc @@ -17,7 +17,7 @@ REGISTER_TEST_CASE(MessageLoop); TestMessageLoop::TestMessageLoop(TestingInstance* instance) : TestCase(instance), param_(kInvalid), - PP_ALLOW_THIS_IN_INITIALIZER_LIST(callback_factory_(this)), + callback_factory_(this), main_loop_task_ran_(instance->pp_instance()) { } |