Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(348)

Unified Diff: ui/gfx/screen_win_unittest.cc

Issue 1513043002: clang/win: Let remaining chromium_code targets build with -Wextra. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/range/range_win_unittest.cc ('k') | win8/metro_driver/file_picker_ash.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/screen_win_unittest.cc
diff --git a/ui/gfx/screen_win_unittest.cc b/ui/gfx/screen_win_unittest.cc
index 2bb4f7b4313f5cd88267d695676d8679e7eefa2e..5e6f9615ce175c3620c13a63317b88f8935139a0 100644
--- a/ui/gfx/screen_win_unittest.cc
+++ b/ui/gfx/screen_win_unittest.cc
@@ -56,7 +56,7 @@ TEST_F(ScreenWinTest, SingleDisplay1x) {
std::vector<gfx::Display> displays =
ScreenWin::GetDisplaysForMonitorInfos(monitor_infos);
- ASSERT_EQ(1, displays.size());
+ ASSERT_EQ(1u, displays.size());
EXPECT_EQ(gfx::Rect(0, 0, 1920, 1200), displays[0].bounds());
EXPECT_EQ(gfx::Rect(0, 0, 1920, 1100), displays[0].work_area());
}
@@ -71,7 +71,7 @@ TEST_F(ScreenWinTest, SingleDisplay2x) {
std::vector<gfx::Display> displays =
ScreenWin::GetDisplaysForMonitorInfos(monitor_infos);
- ASSERT_EQ(1, displays.size());
+ ASSERT_EQ(1u, displays.size());
EXPECT_EQ(gfx::Rect(0, 0, 960, 600), displays[0].bounds());
EXPECT_EQ(gfx::Rect(0, 0, 960, 550), displays[0].work_area());
}
« no previous file with comments | « ui/gfx/range/range_win_unittest.cc ('k') | win8/metro_driver/file_picker_ash.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698