Index: base/message_loop/message_pump_win.h |
diff --git a/base/message_loop/message_pump_win.h b/base/message_loop/message_pump_win.h |
index 1d566f3eb80f503c02ff24c0bee1a52190dce1cc..bf4cdaa8420b8ba3c6f2b9c81f5679a490c71138 100644 |
--- a/base/message_loop/message_pump_win.h |
+++ b/base/message_loop/message_pump_win.h |
@@ -22,7 +22,7 @@ |
// controlling the lifetime of the message pump. |
class BASE_EXPORT MessagePumpWin : public MessagePump { |
public: |
- MessagePumpWin(); |
+ MessagePumpWin() : work_state_(READY), state_(NULL) {} |
// MessagePump methods: |
void Run(Delegate* delegate) override; |
@@ -60,10 +60,10 @@ |
// A value used to indicate if there is a kMsgDoWork message pending |
// in the Windows Message queue. There is at most one such message, and it |
// can drive execution of tasks when a native message pump is running. |
- LONG work_state_ = READY; |
+ LONG work_state_; |
// State for the current invocation of Run. |
- RunState* state_ = nullptr; |
+ RunState* state_; |
}; |
//----------------------------------------------------------------------------- |