Do not set the mouse event handler if Widget::SetCapture() fails.
In particular, Widget::SetCapture() fails if the widget is not visible. BUG=None TEST=WidgetCaptureTest.FailedCaptureRequestIsNoop Review URL: https://codereview.chromium.org/375593002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283633 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment