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

Unified Diff: base/message_loop/message_pump_win.cc

Issue 1218243002: Fix some clang warnings with -Wmissing-braces in base. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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
Index: base/message_loop/message_pump_win.cc
diff --git a/base/message_loop/message_pump_win.cc b/base/message_loop/message_pump_win.cc
index 187678aac913e7ad312dc10cb3ab956c318e182e..8e627d0e5bd86d32b11a856b87f88aa8a7f050a1 100644
--- a/base/message_loop/message_pump_win.cc
+++ b/base/message_loop/message_pump_win.cc
@@ -477,7 +477,7 @@ void MessagePumpForUI::PostWorkMessage() {
void MessagePumpForUI::SetWakeupTimer(int64 delay_ms) {
// Set the timer for the delay passed in. The actual resolution of the
// timer is dependent on whether timeBeginPeriod was called.
- LARGE_INTEGER due_time = {0};
+ LARGE_INTEGER due_time = {};
due_time.QuadPart = -delay_ms * 10000;
BOOL timer_set = ::SetWaitableTimer(ui_worker_thread_timer_.Get(),
&due_time, 0, NULL, NULL, FALSE);

Powered by Google App Engine
This is Rietveld 408576698