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

Unified Diff: content/renderer/pepper/pepper_platform_audio_output.cc

Issue 1320783002: Make SharedMemoryHandle a class on windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ipc_global
Patch Set: Rebase. Created 5 years, 3 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
« no previous file with comments | « content/renderer/pepper/pepper_platform_audio_input.cc ('k') | ipc/ipc_channel_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f5ae3ba0d2b39344f504e07f5b7030c59227d0f5..1edf45b35f12ddfa8edda7e2368702b4cf22f357 100644
--- a/content/renderer/pepper/pepper_platform_audio_output.cc
+++ b/content/renderer/pepper/pepper_platform_audio_output.cc
@@ -83,7 +83,7 @@ void PepperPlatformAudioOutput::OnStreamCreated(
base::SyncSocket::Handle socket_handle,
int length) {
#if defined(OS_WIN)
- DCHECK(handle);
+ DCHECK(handle.IsValid());
DCHECK(socket_handle);
#else
DCHECK(base::SharedMemory::IsHandleValid(handle));
« no previous file with comments | « content/renderer/pepper/pepper_platform_audio_input.cc ('k') | ipc/ipc_channel_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698