Chromium Code Reviews| Index: ash/wm/window_state.cc |
| diff --git a/ash/wm/window_state.cc b/ash/wm/window_state.cc |
| index 21a69d9750a58ab85405da6194db5656752ef210..e00970972a02ab827e91762c1f83ca8aa1def3c9 100644 |
| --- a/ash/wm/window_state.cc |
| +++ b/ash/wm/window_state.cc |
| @@ -92,7 +92,7 @@ WindowState::~WindowState() { |
| } |
| bool WindowState::HasDelegate() const { |
| - return delegate_; |
| + return !!delegate_; |
| } |
| void WindowState::SetDelegate(scoped_ptr<WindowStateDelegate> delegate) { |