| Index: content/renderer/webplugin_delegate_proxy.cc
|
| diff --git a/content/renderer/webplugin_delegate_proxy.cc b/content/renderer/webplugin_delegate_proxy.cc
|
| index 1421d63f297547933b30e1313aa987a46a18b062..bc0f057e7c088397efd9ddbbd8be6ed6b8e91695 100644
|
| --- a/content/renderer/webplugin_delegate_proxy.cc
|
| +++ b/content/renderer/webplugin_delegate_proxy.cc
|
| @@ -333,7 +333,7 @@ bool WebPluginDelegateProxy::Initialize(
|
| channel_host =
|
| PluginChannelHost::GetPluginChannelHost(
|
| channel_handle, ChildProcess::current()->io_message_loop_proxy());
|
| - if (!channel_host.get()) {
|
| + if (!channel_host) {
|
| LOG(ERROR) << "Couldn't get PluginChannelHost";
|
| continue;
|
| }
|
| @@ -537,12 +537,12 @@ void WebPluginDelegateProxy::SendUpdateGeometry(
|
| if (bitmaps_changed)
|
| #endif
|
| {
|
| - if (transport_stores_[0].dib.get())
|
| + if (transport_stores_[0].dib)
|
| CopyTransportDIBHandleForMessage(transport_stores_[0].dib->handle(),
|
| ¶m.windowless_buffer0,
|
| channel_host_->peer_pid());
|
|
|
| - if (transport_stores_[1].dib.get())
|
| + if (transport_stores_[1].dib)
|
| CopyTransportDIBHandleForMessage(transport_stores_[1].dib->handle(),
|
| ¶m.windowless_buffer1,
|
| channel_host_->peer_pid());
|
|
|