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

Unified Diff: ui/gfx/screen_win_unittest.cc

Issue 1679743004: Fix chromium-style warning after https://codereview.chromium.org/1639623003/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: > Created 4 years, 10 months 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 | « no previous file | no next file » | 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 e011c94155a1540f4676e021fe891d18b636e4c6..0be69c359cc100762fca29dd907b4d471ed6f94c 100644
--- a/ui/gfx/screen_win_unittest.cc
+++ b/ui/gfx/screen_win_unittest.cc
@@ -52,7 +52,7 @@ class TestScreenWin : public gfx::ScreenWin {
UpdateFromDisplayInfos(display_infos);
}
- ~TestScreenWin() = default;
+ ~TestScreenWin() override = default;
protected:
// gfx::ScreenWin:
@@ -106,7 +106,7 @@ class TestScreenWin : public gfx::ScreenWin {
if (search != hwnd_map_.end())
return MonitorInfoFromScreenRect(search->second);
- EXPECT_EQ(default_options, MONITOR_DEFAULTTOPRIMARY);
+ EXPECT_EQ(default_options, static_cast<DWORD>(MONITOR_DEFAULTTOPRIMARY));
for (const auto& monitor_info : monitor_infos_) {
if (monitor_info.rcMonitor.left == 0 &&
monitor_info.rcMonitor.top == 0) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698