Index: content/renderer/gpu/stream_texture_host_android.cc |
diff --git a/content/renderer/gpu/stream_texture_host_android.cc b/content/renderer/gpu/stream_texture_host_android.cc |
index f3de1f0558ae8fc794abb86b83db5402382dd965..1bfa9d09c2b878ffd1c31d0139dc2a38c49ebe5d 100644 |
--- a/content/renderer/gpu/stream_texture_host_android.cc |
+++ b/content/renderer/gpu/stream_texture_host_android.cc |
@@ -53,7 +53,7 @@ bool StreamTextureHost::OnMessageReceived(const IPC::Message& message) { |
} |
void StreamTextureHost::EstablishPeer(int32 primary_id, int32 secondary_id) { |
- if (channel_) { |
+ if (channel_.get()) { |
channel_->Send(new GpuChannelMsg_EstablishStreamTexture( |
stream_id_, primary_id, secondary_id)); |
} |