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

Unified Diff: webrtc/modules/audio_coding/neteq/neteq_network_stats_unittest.cc

Issue 1601743004: Make CriticalSectionWrapper non-virtual (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix windows build Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_coding/neteq/neteq_network_stats_unittest.cc
diff --git a/webrtc/modules/audio_coding/neteq/neteq_network_stats_unittest.cc b/webrtc/modules/audio_coding/neteq/neteq_network_stats_unittest.cc
index 34ca9ea8567dcd866b9674b8d80320121e365278..fb4be862aec55c874e1574ffb956808d88f41847 100644
--- a/webrtc/modules/audio_coding/neteq/neteq_network_stats_unittest.cc
+++ b/webrtc/modules/audio_coding/neteq/neteq_network_stats_unittest.cc
@@ -84,6 +84,12 @@ class NetEqNetworkStatsTest : public NetEqExternalDecoderTest {
static const int kFrameSizeMs = 20;
static const int kMaxOutputSize = 960; // 10 ms * 48 kHz * 2 channels.
+#if defined(WEBRTC_WIN)
+// 'IGNORE' is defined in winbase.h, so we'll hit a compilation issue
+// if we don't undef this macro before using the name in the logic enum.
+#undef IGNORE
+#endif
+
enum logic {
pbos-webrtc 2016/01/19 13:04:41 Can we rename the enum in here instead? Pref kIgno
tommi 2016/01/19 13:57:15 Done.
IGNORE,
EQUAL,
« no previous file with comments | « no previous file | webrtc/system_wrappers/BUILD.gn » ('j') | webrtc/system_wrappers/include/critical_section_wrapper.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698