diff options
| -rw-r--r-- | DEPS | 2 | ||||
| -rw-r--r-- | build/common.gypi | 8 | ||||
| -rw-r--r-- | chrome_frame/test/exception_barrier_unittest.cc | 2 |
3 files changed, 10 insertions, 2 deletions
@@ -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 |
