Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(139)

Issue 2553353002: Log BitBlt failure (Closed)

Created:
4 years ago by Hzj_jie
Modified:
4 years ago
Reviewers:
Sergey Ulanov, Jamie
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Log BitBlt failure BitBlt returns a BOOL value, which should be taken care in ScreenCapturerWinGdi. Meanwhile, this change also replaces assert() / abort() with RTC_DCHECK() / RTC_CHECK() / RTC_NOTREACHED(). This change cannot fix the bug, the reason of the issue is still unknown, but it is still the right thing to do. In ScreenCapturerIntegrationTest, each frame will be captured at most 600 times. Since the test case fails, which means the ScreenCapturerWinGdi consistently returns a white frame for 600 times under a certain state. With this change, instead of returning white frame, ScreenCapturerWinGdi will return a temporary error. But I do not think a ScreenCapturerWinGdi can automatically recover by retrying. BUG=webrtc:6843 Committed: https://crrev.com/2cd872a9395219f4bf8e8898edc20d37f171b872 Cr-Commit-Position: refs/heads/master@{#15465}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -20 lines) Patch
M webrtc/modules/desktop_capture/win/screen_capturer_win_gdi.cc View 5 chunks +23 lines, -20 lines 0 comments Download

Messages

Total messages: 16 (11 generated)
Hzj_jie
4 years ago (2016-12-07 01:47:08 UTC) #8
Sergey Ulanov
lgtm
4 years ago (2016-12-07 19:46:23 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2553353002/1
4 years ago (2016-12-07 20:34:43 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-07 20:40:21 UTC) #14
commit-bot: I haz the power
4 years ago (2016-12-07 20:40:42 UTC) #16
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/2cd872a9395219f4bf8e8898edc20d37f171b872
Cr-Commit-Position: refs/heads/master@{#15465}

Powered by Google App Engine
This is Rietveld 408576698