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

Issue 2440563003: SUCCEEDED macro is misused (Closed)

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

Description

SUCCEEDED macro is misused SUCCEEDED macro is designed for HRESULT instead of BOOL. This change exposes my lack of knowledge of native Windows APIs. :( BUG=https://bugs.chromium.org/p/chromium/issues/detail?id=647067 Committed: https://crrev.com/84fbf9ee380ba107d8ba851dcd721b764d396d99 Cr-Commit-Position: refs/heads/master@{#14716}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Resolve review comments #

Total comments: 2

Patch Set 3 : != FALSE instead of == TRUE #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M webrtc/modules/desktop_capture/screen_drawer_win.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (7 generated)
Hzj_jie
4 years, 2 months ago (2016-10-20 00:59:39 UTC) #3
Sergey Ulanov
lgtm when my comment is addressed https://codereview.chromium.org/2440563003/diff/1/webrtc/modules/desktop_capture/screen_drawer_win.cc File webrtc/modules/desktop_capture/screen_drawer_win.cc (right): https://codereview.chromium.org/2440563003/diff/1/webrtc/modules/desktop_capture/screen_drawer_win.cc#newcode178 webrtc/modules/desktop_capture/screen_drawer_win.cc:178: == TRUE) { ...
4 years, 2 months ago (2016-10-20 17:31:15 UTC) #4
Hzj_jie
https://codereview.chromium.org/2440563003/diff/1/webrtc/modules/desktop_capture/screen_drawer_win.cc File webrtc/modules/desktop_capture/screen_drawer_win.cc (right): https://codereview.chromium.org/2440563003/diff/1/webrtc/modules/desktop_capture/screen_drawer_win.cc#newcode178 webrtc/modules/desktop_capture/screen_drawer_win.cc:178: == TRUE) { On 2016/10/20 17:31:15, Sergey Ulanov wrote: ...
4 years, 2 months ago (2016-10-20 18:15:18 UTC) #5
tommi (sloooow) - chröme
https://codereview.chromium.org/2440563003/diff/20001/webrtc/modules/desktop_capture/screen_drawer_win.cc File webrtc/modules/desktop_capture/screen_drawer_win.cc (right): https://codereview.chromium.org/2440563003/diff/20001/webrtc/modules/desktop_capture/screen_drawer_win.cc#newcode179 webrtc/modules/desktop_capture/screen_drawer_win.cc:179: return; Nit: Just check for non 0. False has ...
4 years, 2 months ago (2016-10-20 19:51:20 UTC) #7
Hzj_jie
https://codereview.chromium.org/2440563003/diff/20001/webrtc/modules/desktop_capture/screen_drawer_win.cc File webrtc/modules/desktop_capture/screen_drawer_win.cc (right): https://codereview.chromium.org/2440563003/diff/20001/webrtc/modules/desktop_capture/screen_drawer_win.cc#newcode179 webrtc/modules/desktop_capture/screen_drawer_win.cc:179: return; On 2016/10/20 19:51:20, tommi (chrömium) wrote: > Nit: ...
4 years, 2 months ago (2016-10-20 21:13:39 UTC) #8
Sergey Ulanov
On 2016/10/20 21:13:39, Hzj_jie wrote: > https://codereview.chromium.org/2440563003/diff/20001/webrtc/modules/desktop_capture/screen_drawer_win.cc > File webrtc/modules/desktop_capture/screen_drawer_win.cc (right): > > https://codereview.chromium.org/2440563003/diff/20001/webrtc/modules/desktop_capture/screen_drawer_win.cc#newcode179 > ...
4 years, 2 months ago (2016-10-20 21:43:57 UTC) #9
Hzj_jie
On 2016/10/20 21:43:57, Sergey Ulanov wrote: > On 2016/10/20 21:13:39, Hzj_jie wrote: > > > ...
4 years, 2 months ago (2016-10-20 21:47:41 UTC) #10
tommi (sloooow) - chröme
lgtm
4 years, 2 months ago (2016-10-20 22:55:18 UTC) #11
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/2440563003/40001
4 years, 2 months ago (2016-10-20 23:41:45 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-21 00:00:39 UTC) #16
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 00:00:45 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/84fbf9ee380ba107d8ba851dcd721b764d396d99
Cr-Commit-Position: refs/heads/master@{#14716}

Powered by Google App Engine
This is Rietveld 408576698