summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-01 18:35:56 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-01 18:35:56 +0000
commit1652dcc0c45f389c2881dcad3faafac2fcf0f9b8 (patch)
treecb22edc5eb779c1145ee606625a45ec12cbcc73e /base
parent6c828fb6bc1e82b2a1bbeebbccb1cce64a8d5009 (diff)
downloadchromium_src-1652dcc0c45f389c2881dcad3faafac2fcf0f9b8.zip
chromium_src-1652dcc0c45f389c2881dcad3faafac2fcf0f9b8.tar.gz
chromium_src-1652dcc0c45f389c2881dcad3faafac2fcf0f9b8.tar.bz2
base: Remove ALLOW_THIS_IN_INITIALIZER_LIST macro.
All the usages were fixed in past revisions and the remaining usages were fixed within this patch. BUG=234765 TBR=darin@chromium.org Review URL: https://codereview.chromium.org/14657004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197671 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/compiler_specific.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/base/compiler_specific.h b/base/compiler_specific.h
index 5291ee5..0be7d89 100644
--- a/base/compiler_specific.h
+++ b/base/compiler_specific.h
@@ -40,16 +40,6 @@
#define MSVC_DISABLE_OPTIMIZE() __pragma(optimize("", off))
#define MSVC_ENABLE_OPTIMIZE() __pragma(optimize("", on))
-// DEPRECATED
-//
-// Prior to r83840 this was used to supress warning C4355 when using |this| as
-// an argument in constructor initializer lists:
-// http://msdn.microsoft.com/en-us/library/3c594ae3(VS.80).aspx
-//
-// C4355 is supressed globally during compilation and existing uses of this
-// macro should be removed. Refer to http://crbug.com/234765 for details.
-#define ALLOW_THIS_IN_INITIALIZER_LIST(code) code
-
// Allows exporting a class that inherits from a non-exported base class.
// This uses suppress instead of push/pop because the delimiter after the
// declaration (either "," or "{") has to be placed before the pop macro.
@@ -73,7 +63,6 @@
#define MSVC_POP_WARNING()
#define MSVC_DISABLE_OPTIMIZE()
#define MSVC_ENABLE_OPTIMIZE()
-#define ALLOW_THIS_IN_INITIALIZER_LIST(code) code
#define NON_EXPORTED_BASE(code) code
#endif // COMPILER_MSVC