| Index: gpu/ipc/service/stream_texture_android.cc
|
| diff --git a/gpu/ipc/service/stream_texture_android.cc b/gpu/ipc/service/stream_texture_android.cc
|
| index d1070051f3d8f391f3d7e4cd8d69fbea0bace6a0..173dab8284f25d03e2e7944fd5c9dd4c756945a8 100644
|
| --- a/gpu/ipc/service/stream_texture_android.cc
|
| +++ b/gpu/ipc/service/stream_texture_android.cc
|
| @@ -12,7 +12,6 @@
|
| #include "gpu/command_buffer/service/gles2_cmd_decoder.h"
|
| #include "gpu/command_buffer/service/texture_manager.h"
|
| #include "gpu/ipc/common/android/scoped_surface_request_conduit.h"
|
| -#include "gpu/ipc/common/android/surface_texture_peer.h"
|
| #include "gpu/ipc/common/gpu_messages.h"
|
| #include "gpu/ipc/service/gpu_channel.h"
|
| #include "ui/gfx/geometry/size.h"
|
| @@ -198,7 +197,6 @@ bool StreamTexture::OnMessageReceived(const IPC::Message& message) {
|
| IPC_MESSAGE_HANDLER(GpuStreamTextureMsg_StartListening, OnStartListening)
|
| IPC_MESSAGE_HANDLER(GpuStreamTextureMsg_ForwardForSurfaceRequest,
|
| OnForwardForSurfaceRequest)
|
| - IPC_MESSAGE_HANDLER(GpuStreamTextureMsg_EstablishPeer, OnEstablishPeer)
|
| IPC_MESSAGE_HANDLER(GpuStreamTextureMsg_SetSize, OnSetSize)
|
| IPC_MESSAGE_UNHANDLED(handled = false)
|
| IPC_END_MESSAGE_MAP()
|
| @@ -212,16 +210,6 @@ void StreamTexture::OnStartListening() {
|
| has_listener_ = true;
|
| }
|
|
|
| -void StreamTexture::OnEstablishPeer(int32_t primary_id, int32_t secondary_id) {
|
| - if (!owner_stub_)
|
| - return;
|
| -
|
| - base::ProcessHandle process = owner_stub_->channel()->GetClientPID();
|
| -
|
| - SurfaceTexturePeer::GetInstance()->EstablishSurfaceTexturePeer(
|
| - process, surface_texture_, primary_id, secondary_id);
|
| -}
|
| -
|
| void StreamTexture::OnForwardForSurfaceRequest(
|
| const base::UnguessableToken& request_token) {
|
| if (!owner_stub_)
|
|
|