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 437a6d3fe7712519fec44d87830501bc16127514..7b1a56f84a11bb797645561728eb75abc2cc97ab 100644 |
--- a/webrtc/modules/desktop_capture/screen_drawer_win.cc |
+++ b/webrtc/modules/desktop_capture/screen_drawer_win.cc |
@@ -150,6 +150,7 @@ void ScreenDrawerWin::Clear() { |
// TODO(zijiehe): Find the right signal to indicate the finish of all pending |
// paintings. |
void ScreenDrawerWin::WaitForPendingDraws() { |
+ BringToFront(); |
SleepMs(50); |
} |