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

Issue 2771573002: Use constexpr function FourCC instead of macro (Closed)

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

Description

Use constexpr function FourCC instead of macro constexpr function should be preferred than a macro. So this change replaces FOURCC() macro with a constexpr uint32_t FourCC() function. BUG=679523, 650926 Review-Url: https://codereview.webrtc.org/2771573002 Cr-Commit-Position: refs/heads/master@{#17351} Committed: https://chromium.googlesource.com/external/webrtc/+/65cb53a5c670d3aa1091f1fabf1d8b443e331296

Patch Set 1 #

Total comments: 2

Patch Set 2 : Resolve review comments #

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

Messages

Total messages: 20 (15 generated)
Hzj_jie
3 years, 9 months ago (2017-03-22 20:28:10 UTC) #7
Sergey Ulanov
lgtm when my comment is addressed https://codereview.webrtc.org/2771573002/diff/1/webrtc/modules/desktop_capture/desktop_capture_types.h File webrtc/modules/desktop_capture/desktop_capture_types.h (right): https://codereview.webrtc.org/2771573002/diff/1/webrtc/modules/desktop_capture/desktop_capture_types.h#newcode39 webrtc/modules/desktop_capture/desktop_capture_types.h:39: constexpr uint32_t FourCC(char ...
3 years, 9 months ago (2017-03-22 21:05:21 UTC) #8
Hzj_jie
https://codereview.webrtc.org/2771573002/diff/1/webrtc/modules/desktop_capture/desktop_capture_types.h File webrtc/modules/desktop_capture/desktop_capture_types.h (right): https://codereview.webrtc.org/2771573002/diff/1/webrtc/modules/desktop_capture/desktop_capture_types.h#newcode39 webrtc/modules/desktop_capture/desktop_capture_types.h:39: constexpr uint32_t FourCC(char a, char b, char c, char ...
3 years, 9 months ago (2017-03-22 21:30:59 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/2771573002/20001
3 years, 9 months ago (2017-03-22 22:08:42 UTC) #16
commit-bot: I haz the power
3 years, 9 months ago (2017-03-23 07:02:06 UTC) #19
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/external/webrtc/+/65cb53a5c670d3aa1091f1fab...

Powered by Google App Engine
This is Rietveld 408576698