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

Unified Diff: win8/metro_driver/chrome_app_view_ash.cc

Issue 1216413002: Fix remaining warnings for -Wmissing-braces and enable on win clang. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Less nesting Created 5 years, 5 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 | « third_party/iaccessible2/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: win8/metro_driver/chrome_app_view_ash.cc
diff --git a/win8/metro_driver/chrome_app_view_ash.cc b/win8/metro_driver/chrome_app_view_ash.cc
index 5ec2b205137bf13a9fa6396251f3fb152b7f6bd4..776f23ee99b1170ebd72ca58eb0af6369f7654ac 100644
--- a/win8/metro_driver/chrome_app_view_ash.cc
+++ b/win8/metro_driver/chrome_app_view_ash.cc
@@ -94,7 +94,7 @@ const int kChromeChannelPollTimerMs = 100;
// modifiers: Combination with Alt, Ctrl, Shift, etc.
void SendKeySequence(
WORD mnemonic_char, KeyModifier modifiers) {
- INPUT keys[4] = {0}; // Keyboard events
+ INPUT keys[4] = {}; // Keyboard events
int key_count = 0; // Number of generated events
if (modifiers & SHIFT) {
« no previous file with comments | « third_party/iaccessible2/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698