Index: ui/views/widget/widget.cc |
=================================================================== |
--- ui/views/widget/widget.cc (revision 159076) |
+++ ui/views/widget/widget.cc (working copy) |
@@ -1102,7 +1102,7 @@ |
native_widget_->ReleaseCapture(); |
} |
GetRootView()->OnMouseReleased(event); |
- return (event.flags() & ui::EF_IS_NON_CLIENT) ? false : true; |
+ return ((event.flags() & ui::EF_IS_NON_CLIENT) == 0); |
case ui::ET_MOUSE_MOVED: |
case ui::ET_MOUSE_DRAGGED: |
if (native_widget_->HasCapture() && is_mouse_button_pressed_) { |