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

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

Issue 2852803002: Remove base::SharedMemory::ShareToProcess. (Closed)
Patch Set: Compile error. Created 3 years, 8 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_output.cc ('k') | device/gamepad/gamepad_provider.h » ('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_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);
« no previous file with comments | « content/renderer/pepper/pepper_platform_audio_output.cc ('k') | device/gamepad/gamepad_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698