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

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

Issue 2867693004: Snapshot of all changes to get jumbo in blink and content.
Patch Set: Exclude certain files from jumbo because of a Windows problem Created 3 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
Index: content/renderer/pepper/pepper_audio_input_host.cc
diff --git a/content/renderer/pepper/pepper_audio_input_host.cc b/content/renderer/pepper/pepper_audio_input_host.cc
index 579de1615e97eebadd7df992328d0c40da97e32e..8f7154d1ed3fec9b6309e41e7e077c7b01542d9c 100644
--- a/content/renderer/pepper/pepper_audio_input_host.cc
+++ b/content/renderer/pepper/pepper_audio_input_host.cc
@@ -21,14 +21,6 @@
namespace content {
-namespace {
-
-base::PlatformFile ConvertSyncSocketHandle(const base::SyncSocket& socket) {
- return socket.handle();
-}
-
-} // namespace
-
PepperAudioInputHost::PepperAudioInputHost(RendererPpapiHostImpl* host,
PP_Instance instance,
PP_Resource resource)
@@ -165,7 +157,7 @@ int32_t PepperAudioInputHost::GetRemoteHandles(
IPC::PlatformFileForTransit* remote_socket_handle,
base::SharedMemoryHandle* remote_shared_memory_handle) {
*remote_socket_handle = renderer_ppapi_host_->ShareHandleWithRemote(
- ConvertSyncSocketHandle(socket), false);
+ socket.handle(), false);
if (*remote_socket_handle == IPC::InvalidPlatformFileForTransit())
return PP_ERROR_FAILED;

Powered by Google App Engine
This is Rietveld 408576698