Index: ppapi/c/pp_macros.h |
diff --git a/ppapi/c/pp_macros.h b/ppapi/c/pp_macros.h |
index 910ac4cb0a06e3e510345d0594dff786a9876db5..31d7297fd433423e66490d71555b57c302bf8eeb 100644 |
--- a/ppapi/c/pp_macros.h |
+++ b/ppapi/c/pp_macros.h |
@@ -95,22 +95,6 @@ PP_COMPILE_ASSERT_SIZE_IN_BYTES_IMPL(NAME, struct NAME, SIZE) |
#define PP_COMPILE_ASSERT_ENUM_SIZE_IN_BYTES(NAME, SIZE) \ |
PP_COMPILE_ASSERT_SIZE_IN_BYTES_IMPL(NAME, enum NAME, SIZE) |
-/* This is roughly copied from base/compiler_specific.h, and makes it possible |
- to pass 'this' in a constructor initializer list, when you really mean it. |
- E.g.: |
- Foo::Foo(MyInstance* instance) |
- : PP_ALLOW_THIS_IN_INITIALIZER_LIST(callback_factory_(this)) {} |
- */ |
-#if defined(_MSC_VER) |
-# define PP_ALLOW_THIS_IN_INITIALIZER_LIST(code) \ |
- __pragma(warning(push)) \ |
- __pragma(warning(disable:4355)) \ |
- code \ |
- __pragma(warning(pop)) |
-#else |
-# define PP_ALLOW_THIS_IN_INITIALIZER_LIST(code) code |
-#endif |
- |
/** |
* @} |
* End of addtogroup PP |