Index: webrtc/modules/video_capture/test/video_capture_unittest.cc |
diff --git a/webrtc/modules/video_capture/test/video_capture_unittest.cc b/webrtc/modules/video_capture/test/video_capture_unittest.cc |
index 1bd0684d802ed20790ed0223177f49000d8c464d..49cd4e2a17e0fd3febfe3940161e193b0293aa8f 100644 |
--- a/webrtc/modules/video_capture/test/video_capture_unittest.cc |
+++ b/webrtc/modules/video_capture/test/video_capture_unittest.cc |
@@ -23,7 +23,6 @@ |
#include "webrtc/system_wrappers/include/critical_section_wrapper.h" |
#include "webrtc/system_wrappers/include/sleep.h" |
#include "webrtc/system_wrappers/include/tick_util.h" |
-#include "webrtc/test/testsupport/gtest_disable.h" |
#include "webrtc/video_frame.h" |
using rtc::scoped_ptr; |
@@ -479,7 +478,11 @@ TEST_F(VideoCaptureExternalTest, TestExternalCapture) { |
// Test frame rate and no picture alarm. |
// Flaky on Win32, see webrtc:3270. |
-TEST_F(VideoCaptureExternalTest, DISABLED_ON_WIN(FrameRate)) { |
+#if defined(WEBRTC_WIN) |
+TEST_F(VideoCaptureExternalTest, DISABLED_FrameRate) { |
+#else |
+TEST_F(VideoCaptureExternalTest, FrameRate) { |
+#endif |
int64_t testTime = 3; |
TickTime startTime = TickTime::Now(); |