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

Issue 1601743004: Make CriticalSectionWrapper non-virtual (Closed)

Created:
4 years, 11 months ago by tommi
Modified:
4 years, 11 months ago
Reviewers:
pbos-webrtc
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

Make CriticalSectionWrapper non-virtual. There's no need for this class to have a vtable since there exists only a single implementation (per platform). It's also not good for performance. BUG= R=pbos@webrtc.org Committed: https://chromium.googlesource.com/external/webrtc/+/ee5a309f12e4a3f96b8924d45e65ae01ef18d079

Patch Set 1 #

Patch Set 2 : Windows changes #

Patch Set 3 : Rebase #

Patch Set 4 : Fix windows build #

Total comments: 4

Patch Set 5 : Change enum value names #

Patch Set 6 : Improve comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -222 lines) Patch
M webrtc/modules/audio_coding/neteq/neteq_network_stats_unittest.cc View 1 2 3 4 4 chunks +31 lines, -31 lines 0 comments Download
M webrtc/system_wrappers/BUILD.gn View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M webrtc/system_wrappers/include/critical_section_wrapper.h View 1 2 3 4 5 1 chunk +28 lines, -4 lines 0 comments Download
M webrtc/system_wrappers/source/condition_variable_event_win.cc View 1 2 3 3 chunks +4 lines, -5 lines 0 comments Download
M webrtc/system_wrappers/source/condition_variable_native_win.cc View 1 2 3 2 chunks +2 lines, -4 lines 0 comments Download
M webrtc/system_wrappers/source/condition_variable_posix.cc View 5 chunks +5 lines, -10 lines 0 comments Download
M webrtc/system_wrappers/source/critical_section.cc View 1 1 chunk +42 lines, -10 lines 0 comments Download
D webrtc/system_wrappers/source/critical_section_posix.h View 1 chunk +0 lines, -36 lines 0 comments Download
D webrtc/system_wrappers/source/critical_section_posix.cc View 1 chunk +0 lines, -41 lines 0 comments Download
D webrtc/system_wrappers/source/critical_section_win.h View 1 chunk +0 lines, -38 lines 0 comments Download
D webrtc/system_wrappers/source/critical_section_win.cc View 1 chunk +0 lines, -33 lines 0 comments Download
M webrtc/system_wrappers/source/rw_lock_winxp_win.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/system_wrappers/system_wrappers.gyp View 1 2 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 19 (7 generated)
tommi
Windows changes
4 years, 11 months ago (2016-01-19 11:17:44 UTC) #1
tommi
Rebase
4 years, 11 months ago (2016-01-19 11:22:01 UTC) #2
tommi
Fix windows build
4 years, 11 months ago (2016-01-19 12:54:26 UTC) #3
tommi
4 years, 11 months ago (2016-01-19 12:57:45 UTC) #6
pbos-webrtc
lgtm w/ enum renamed instead of undef. https://codereview.webrtc.org/1601743004/diff/60001/webrtc/modules/audio_coding/neteq/neteq_network_stats_unittest.cc File webrtc/modules/audio_coding/neteq/neteq_network_stats_unittest.cc (right): https://codereview.webrtc.org/1601743004/diff/60001/webrtc/modules/audio_coding/neteq/neteq_network_stats_unittest.cc#newcode93 webrtc/modules/audio_coding/neteq/neteq_network_stats_unittest.cc:93: enum logic ...
4 years, 11 months ago (2016-01-19 13:04:41 UTC) #7
tommi
Change enum value names
4 years, 11 months ago (2016-01-19 13:49:46 UTC) #8
tommi
Improve comment
4 years, 11 months ago (2016-01-19 13:57:01 UTC) #9
tommi
https://codereview.webrtc.org/1601743004/diff/60001/webrtc/modules/audio_coding/neteq/neteq_network_stats_unittest.cc File webrtc/modules/audio_coding/neteq/neteq_network_stats_unittest.cc (right): https://codereview.webrtc.org/1601743004/diff/60001/webrtc/modules/audio_coding/neteq/neteq_network_stats_unittest.cc#newcode93 webrtc/modules/audio_coding/neteq/neteq_network_stats_unittest.cc:93: enum logic { On 2016/01/19 13:04:41, pbos-webrtc wrote: > ...
4 years, 11 months ago (2016-01-19 13:57:15 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1601743004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1601743004/100001
4 years, 11 months ago (2016-01-19 13:57:28 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/2944)
4 years, 11 months ago (2016-01-19 14:02:45 UTC) #15
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/ee5a309f12e4a3f96b8924d45e65ae01ef18d079 Cr-Commit-Position: refs/heads/master@{#11306}
4 years, 11 months ago (2016-01-19 14:43:01 UTC) #17
tommi
4 years, 11 months ago (2016-01-19 14:43:02 UTC) #19
Message was sent while issue was closed.
Committed patchset #6 (id:100001) manually as
ee5a309f12e4a3f96b8924d45e65ae01ef18d079 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698