| Index: webrtc/modules/desktop_capture/screen_drawer_win.cc
|
| diff --git a/webrtc/modules/desktop_capture/screen_drawer_win.cc b/webrtc/modules/desktop_capture/screen_drawer_win.cc
|
| index 0b669916479c876366ac0237557745e693f37a3a..1bc591b9c7c400065ab78fb0eee90c0ac0a4185f 100644
|
| --- a/webrtc/modules/desktop_capture/screen_drawer_win.cc
|
| +++ b/webrtc/modules/desktop_capture/screen_drawer_win.cc
|
| @@ -174,8 +174,8 @@ void ScreenDrawerWin::DrawDot(DesktopVector vect, RgbaColor color) {
|
| }
|
|
|
| void ScreenDrawerWin::BringToFront() {
|
| - if (SUCCEEDED(SetWindowPos(
|
| - window_, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE))) {
|
| + if (SetWindowPos(window_, HWND_TOPMOST, 0, 0, 0, 0,
|
| + SWP_NOMOVE | SWP_NOSIZE) != FALSE) {
|
| return;
|
| }
|
|
|
|
|