From b1ee1c29f6b7aa7c2b15d590862c333960c8654b Mon Sep 17 00:00:00 2001 From: "apatrick@google.com" Date: Wed, 5 Aug 2009 22:19:59 +0000 Subject: Updated O3D to work with most recent Chrome base. Added build.scons for Chrome IPC. Review URL: http://codereview.chromium.org/160616 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22545 0039d316-1c4b-4281-b951-d872f2087c98 --- o3d/core/cross/types.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'o3d/core') diff --git a/o3d/core/cross/types.h b/o3d/core/cross/types.h index f7b817e..23e6609 100644 --- a/o3d/core/cross/types.h +++ b/o3d/core/cross/types.h @@ -105,12 +105,6 @@ // We can add more sophisticated per-platform #defines as necessary here #define IS_LITTLE_ENDIAN 1 -#if defined(GYP_BUILD) -// We only need this in the gyp build because we're using the current -// chrome/base, which doesn't have down_cast in it anymore. -// TODO(gspencer): Remove this #ifdef when we are moved fully over to -// gyp. - // When you upcast (that is, cast a pointer from type Foo to type // SuperclassOfFoo), it's fine to use implicit_cast<>, since upcasts // always succeed. When you downcast (that is, cast a pointer from @@ -137,7 +131,6 @@ inline To down_cast(From* f) { // Defined as From* so we only accept pointers. return static_cast(f); } -#endif // GYP_BUILD namespace o3d { -- cgit v1.1