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

Unified Diff: content/renderer/webplugin_delegate_proxy.cc

Issue 14081010: Cleanup: Remove unnecessary ".get()" from scoped_ptrs<>. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix some gtk issues Created 7 years, 8 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
« no previous file with comments | « content/renderer/v8_value_converter_impl_unittest.cc ('k') | content/shell/shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(),
&param.windowless_buffer0,
channel_host_->peer_pid());
- if (transport_stores_[1].dib.get())
+ if (transport_stores_[1].dib)
CopyTransportDIBHandleForMessage(transport_stores_[1].dib->handle(),
&param.windowless_buffer1,
channel_host_->peer_pid());
« no previous file with comments | « content/renderer/v8_value_converter_impl_unittest.cc ('k') | content/shell/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698