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

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

Issue 2849633002: Get rid of base::SharedMemory::NULLHandle(); (Closed)
Patch Set: Rebase. 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
Index: content/renderer/pepper/pepper_audio_output_host.cc
diff --git a/content/renderer/pepper/pepper_audio_output_host.cc b/content/renderer/pepper/pepper_audio_output_host.cc
index 6f264b97666e1ae2825f076782c4bcec112ce23a..59674b7367bbd1e2b341798e00e70c949b4bbfed 100644
--- a/content/renderer/pepper/pepper_audio_output_host.cc
+++ b/content/renderer/pepper/pepper_audio_output_host.cc
@@ -86,7 +86,7 @@ void PepperAudioOutputHost::StreamCreated(
}
void PepperAudioOutputHost::StreamCreationFailed() {
- OnOpenComplete(PP_ERROR_FAILED, base::SharedMemory::NULLHandle(), 0,
+ OnOpenComplete(PP_ERROR_FAILED, base::SharedMemoryHandle(), 0,
base::SyncSocket::kInvalidHandle);
}
@@ -182,7 +182,7 @@ void PepperAudioOutputHost::OnOpenComplete(
if (result == PP_OK) {
IPC::PlatformFileForTransit temp_socket =
IPC::InvalidPlatformFileForTransit();
- base::SharedMemoryHandle temp_shmem = base::SharedMemory::NULLHandle();
+ base::SharedMemoryHandle temp_shmem;
result = GetRemoteHandles(scoped_socket, scoped_shared_memory, &temp_socket,
&temp_shmem);
« no previous file with comments | « content/renderer/pepper/pepper_audio_input_host.cc ('k') | content/renderer/renderer_blink_platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698