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

Unified Diff: content/renderer/pepper/pepper_audio_output_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_output_host.cc
diff --git a/content/renderer/pepper/pepper_audio_output_host.cc b/content/renderer/pepper/pepper_audio_output_host.cc
index 59674b7367bbd1e2b341798e00e70c949b4bbfed..7502b4f4c56b5d12a08982ba5c87e0d0984d8d8c 100644
--- a/content/renderer/pepper/pepper_audio_output_host.cc
+++ b/content/renderer/pepper/pepper_audio_output_host.cc
@@ -23,14 +23,6 @@
namespace content {
-namespace {
-
-base::PlatformFile ConvertSyncSocketHandle(const base::SyncSocket& socket) {
- return socket.handle();
-}
-
-} // namespace
-
PepperAudioOutputHost::PepperAudioOutputHost(RendererPpapiHostImpl* host,
PP_Instance instance,
PP_Resource resource)
@@ -206,7 +198,7 @@ int32_t PepperAudioOutputHost::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;
« no previous file with comments | « content/renderer/pepper/pepper_audio_input_host.cc ('k') | content/renderer/pepper/pepper_media_stream_audio_track_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698