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

Issue 1595983002: Rename RWLockGeneric to RWLockWinXP to more accurately reflect when it's used. (Closed)

Created:
4 years, 11 months ago by tommi
Modified:
4 years, 11 months ago
Reviewers:
mflodman
CC:
webrtc-reviews_webrtc.org, henrika_webrtc, zhengzhonghou_agora.io, tterriberry_mozilla.com, fengyue_agora.io, peah-webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Rename RWLockGeneric to RWLockWinXP to more accurately reflect when it's used. Since this is on Windows only, I'm also using the CriticalSectionWrapper and ConditionVariableWrapper Windows types directly which allows us to skip 3 extra heap allocations. It also helps with the removal of the 'friend' relationship between ConditionVariableWrapper and CriticalSectionWrapper, which is causing headaches on Mac. BUG= Committed: https://crrev.com/61046eb38d188c759478c84fb536ec8dd941e146 Cr-Commit-Position: refs/heads/master@{#11300}

Patch Set 1 #

Patch Set 2 : Fix missing include #

Total comments: 2

Patch Set 3 : Remove include #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -146 lines) Patch
M webrtc/system_wrappers/BUILD.gn View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/system_wrappers/source/rw_lock.cc View 2 chunks +2 lines, -2 lines 0 comments Download
D webrtc/system_wrappers/source/rw_lock_generic.h View 1 chunk +0 lines, -46 lines 0 comments Download
D webrtc/system_wrappers/source/rw_lock_generic.cc View 1 chunk +0 lines, -77 lines 0 comments Download
A + webrtc/system_wrappers/source/rw_lock_winxp_win.h View 1 2 2 chunks +16 lines, -17 lines 0 comments Download
A webrtc/system_wrappers/source/rw_lock_winxp_win.cc View 1 chunk +61 lines, -0 lines 0 comments Download
M webrtc/system_wrappers/system_wrappers.gyp View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (7 generated)
tommi
Fix missing include
4 years, 11 months ago (2016-01-16 17:21:43 UTC) #1
tommi
4 years, 11 months ago (2016-01-16 17:23:52 UTC) #3
tommi
hej magnus - ptal
4 years, 11 months ago (2016-01-18 09:13:32 UTC) #5
tommi
ping
4 years, 11 months ago (2016-01-19 08:44:38 UTC) #7
mflodman
One comment, then LGTM. https://codereview.webrtc.org/1595983002/diff/20001/webrtc/system_wrappers/source/rw_lock_winxp_win.h File webrtc/system_wrappers/source/rw_lock_winxp_win.h (right): https://codereview.webrtc.org/1595983002/diff/20001/webrtc/system_wrappers/source/rw_lock_winxp_win.h#newcode14 webrtc/system_wrappers/source/rw_lock_winxp_win.h:14: #include <windows.h> We shouldn't need ...
4 years, 11 months ago (2016-01-19 09:55:32 UTC) #8
tommi
Remove include
4 years, 11 months ago (2016-01-19 10:02:51 UTC) #9
tommi
https://codereview.webrtc.org/1595983002/diff/20001/webrtc/system_wrappers/source/rw_lock_winxp_win.h File webrtc/system_wrappers/source/rw_lock_winxp_win.h (right): https://codereview.webrtc.org/1595983002/diff/20001/webrtc/system_wrappers/source/rw_lock_winxp_win.h#newcode14 webrtc/system_wrappers/source/rw_lock_winxp_win.h:14: #include <windows.h> On 2016/01/19 09:55:32, mflodman wrote: > We ...
4 years, 11 months ago (2016-01-19 10:03:07 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1595983002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1595983002/40001
4 years, 11 months ago (2016-01-19 10:03:26 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 11 months ago (2016-01-19 11:00:01 UTC) #15
commit-bot: I haz the power
4 years, 11 months ago (2016-01-19 11:00:06 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/61046eb38d188c759478c84fb536ec8dd941e146
Cr-Commit-Position: refs/heads/master@{#11300}

Powered by Google App Engine
This is Rietveld 408576698