DescriptionFix compilation of browser_window_cocoa_unittest.mm with OS X 10.11 SDK.
Fixes the following compilation error:
../../testing/gtest/include/gtest/gtest.h:1526:28: error: comparison of integers of different signs: 'const unsigned long' and 'const long' [-Werror,-Wsign-compare]
GTEST_IMPL_CMP_HELPER_(NE, !=);
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
../../testing/gtest/include/gtest/gtest.h:1514:12: note: expanded from macro 'GTEST_IMPL_CMP_HELPER_'
if (val1 op val2) {\
~~~~ ^ ~~~~
../../chrome/browser/ui/cocoa/browser_window_cocoa_unittest.mm:65:3: note: in instantiation of function template specialization 'testing::internal::CmpHelperNE<unsigned long, long>' requested here
EXPECT_NE([bwc->WindowTitle() rangeOfString:playing_emoji].location,
^
BUG=None
Patch Set 1 #
Total comments: 1
Dependent Patchsets: Messages
Total messages: 4 (1 generated)
|