From 0fa0fbc5767ec406aa44c48ea5f775d158042bb2 Mon Sep 17 00:00:00 2001 From: "thakis@chromium.org" Date: Tue, 12 Oct 2010 04:32:05 +0000 Subject: Roll gtest 445 -> 446 I want to get to r492 to pick up the fix for http://code.google.com/p/googletest/issues/detail?id=321 , but r446 needs some changes, so I'm doing an extra commit for this revision. See comments at http://code.google.com/p/googletest/source/detail?r=446 BUG=None TEST=None Review URL: http://codereview.chromium.org/3705002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62246 0039d316-1c4b-4281-b951-d872f2087c98 --- DEPS | 2 +- build/common.gypi | 8 ++++++++ chrome_frame/test/exception_barrier_unittest.cc | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/DEPS b/DEPS index 21de1ce..ca66718 100644 --- a/DEPS +++ b/DEPS @@ -31,7 +31,7 @@ deps = { (Var("googlecode_url") % "open-vcdiff") + "/trunk@28", "src/testing/gtest": - (Var("googlecode_url") % "googletest") + "/trunk@445", + (Var("googlecode_url") % "googletest") + "/trunk@446", "src/third_party/angle": (Var("googlecode_url") % "angleproject") + "/trunk@447", diff --git a/build/common.gypi b/build/common.gypi index d028565..3f37e4e 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -1143,6 +1143,10 @@ '-Wno-bool-conversions', # Don't die on dtoa code that uses a char as an array index. '-Wno-char-subscripts', + # Survive EXPECT_EQ(unnamed_enum, unsigned int) -- see + # http://code.google.com/p/googletest/source/detail?r=446 . + # TODO(thakis): Use -isystem instead (http://crbug.com/58751 ). + '-Wno-unnamed-type-template-args', ], 'cflags!': [ # Clang doesn't seem to know know this flag. @@ -1251,6 +1255,10 @@ # Don't die on dtoa code that uses a char as an array index. # This is required solely for base/third_party/dmg_fp/dtoa.cc. '-Wno-char-subscripts', + # Survive EXPECT_EQ(unnamed_enum, unsigned int) -- see + # http://code.google.com/p/googletest/source/detail?r=446 . + # TODO(thakis): Use -isystem instead (http://crbug.com/58751 ). + '-Wno-unnamed-type-template-args', ], }], ], diff --git a/chrome_frame/test/exception_barrier_unittest.cc b/chrome_frame/test/exception_barrier_unittest.cc index 73f006a..3274318 100644 --- a/chrome_frame/test/exception_barrier_unittest.cc +++ b/chrome_frame/test/exception_barrier_unittest.cc @@ -168,7 +168,7 @@ TEST_F(ExceptionBarrierTest, RegisterUnregister) { EXCEPTION_REGISTRATION registration; ::RegisterExceptionRecord(®istration, ExceptionBarrierHandler); EXPECT_EQ(GetTopRegistration(), ®istration); - EXPECT_EQ(ExceptionBarrierHandler, registration.handler); + EXPECT_EQ(&ExceptionBarrierHandler, registration.handler); EXPECT_EQ(top, registration.prev); // test the whole chain for good measure -- cgit v1.1