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

Unified Diff: chrome/browser/ui/views/accessibility/navigation_accessibility_uitest_win.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
Index: chrome/browser/ui/views/accessibility/navigation_accessibility_uitest_win.cc
diff --git a/chrome/browser/ui/views/accessibility/navigation_accessibility_uitest_win.cc b/chrome/browser/ui/views/accessibility/navigation_accessibility_uitest_win.cc
index 71c57a385574813337b4947789bd858eefc6b640..d1a9795c927b398af92c000028a92a710be0bd20 100644
--- a/chrome/browser/ui/views/accessibility/navigation_accessibility_uitest_win.cc
+++ b/chrome/browser/ui/views/accessibility/navigation_accessibility_uitest_win.cc
@@ -238,11 +238,11 @@ IN_PROC_BROWSER_TEST_F(NavigationAccessibilityTest,
<< " name=" << name;
// We should get only focus events.
- EXPECT_EQ(EVENT_OBJECT_FOCUS, event);
+ EXPECT_EQ(static_cast<DWORD>(EVENT_OBJECT_FOCUS), event);
// We should get only focus events on document objects. (On a page with
// JavaScript or autofocus, additional focus events would be expected.)
- EXPECT_EQ(ROLE_SYSTEM_DOCUMENT, role);
+ EXPECT_EQ(static_cast<DWORD>(ROLE_SYSTEM_DOCUMENT), role);
// We shouldn't get any events on the first page because from the time
// we start monitoring, the user has already initiated a load to the
« no previous file with comments | « chrome/browser/shell_integration_win.cc ('k') | chrome/browser/web_applications/update_shortcut_worker_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698