| Index: base/bind_unittest.cc
|
| diff --git a/base/bind_unittest.cc b/base/bind_unittest.cc
|
| index f885403c92dfa68b0ba0a4afe534e4c3d39ad918..5d2a86d10fc3a192e38a3a243f67f1089376abf9 100644
|
| --- a/base/bind_unittest.cc
|
| +++ b/base/bind_unittest.cc
|
| @@ -792,27 +792,6 @@ TEST_F(BindTest, ArgumentCopies) {
|
| //
|
| // TODO(ajwong): Is there actually a way to test this?
|
|
|
| -#if defined(OS_WIN)
|
| -int __fastcall FastCallFunc(int n) {
|
| - return n;
|
| -}
|
| -
|
| -int __stdcall StdCallFunc(int n) {
|
| - return n;
|
| -}
|
| -
|
| -// Windows specific calling convention support.
|
| -// - Can bind a __fastcall function.
|
| -// - Can bind a __stdcall function.
|
| -TEST_F(BindTest, WindowsCallingConventions) {
|
| - Callback<int(void)> fastcall_cb = Bind(&FastCallFunc, 1);
|
| - EXPECT_EQ(1, fastcall_cb.Run());
|
| -
|
| - Callback<int(void)> stdcall_cb = Bind(&StdCallFunc, 2);
|
| - EXPECT_EQ(2, stdcall_cb.Run());
|
| -}
|
| -#endif
|
| -
|
| #if (!defined(NDEBUG) || defined(DCHECK_ALWAYS_ON)) && GTEST_HAS_DEATH_TEST
|
|
|
| // Test null callbacks cause a DCHECK.
|
|
|