Index: content/renderer/pepper/pepper_platform_audio_output_dev.cc |
diff --git a/content/renderer/pepper/pepper_platform_audio_output_dev.cc b/content/renderer/pepper/pepper_platform_audio_output_dev.cc |
index 63bb2e4aca07d05f5014c6e06ea3fb6fb2fd08c1..e13aec1e8a4cd71472781e009a154b8fe44d2657 100644 |
--- a/content/renderer/pepper/pepper_platform_audio_output_dev.cc |
+++ b/content/renderer/pepper/pepper_platform_audio_output_dev.cc |
@@ -178,11 +178,10 @@ void PepperPlatformAudioOutputDev::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); |