Index: content/renderer/pepper/pepper_platform_audio_output.cc |
diff --git a/content/renderer/pepper/pepper_platform_audio_output.cc b/content/renderer/pepper/pepper_platform_audio_output.cc |
index e847e72478061d57fdd996277bd766090285941a..0a16cf1208609060176693ceed60e26724d3ce93 100644 |
--- a/content/renderer/pepper/pepper_platform_audio_output.cc |
+++ b/content/renderer/pepper/pepper_platform_audio_output.cc |
@@ -92,11 +92,10 @@ void PepperPlatformAudioOutput::OnStreamCreated( |
base::SharedMemoryHandle handle, |
base::SyncSocket::Handle socket_handle, |
int length) { |
-#if defined(OS_WIN) |
DCHECK(handle.IsValid()); |
+#if defined(OS_WIN) |
DCHECK(socket_handle); |
#else |
- DCHECK(base::SharedMemory::IsHandleValid(handle)); |
DCHECK_NE(-1, socket_handle); |
#endif |
DCHECK(length); |