diff options
author | erg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-17 16:43:27 +0000 |
---|---|---|
committer | erg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-17 16:43:27 +0000 |
commit | 59383c78c7b67b435ff4970060213928e1f153b8 (patch) | |
tree | 5c215c1ba34a10bf83ceea455552908c20061a5b /content/plugin/plugin_thread.cc | |
parent | bf36fe526209a41c15f6747ffc1392206338896c (diff) | |
download | chromium_src-59383c78c7b67b435ff4970060213928e1f153b8.zip chromium_src-59383c78c7b67b435ff4970060213928e1f153b8.tar.gz chromium_src-59383c78c7b67b435ff4970060213928e1f153b8.tar.bz2 |
Cleanup: Remove unnecessary ".get()" from scoped_ptrs<>.
In r174057, ajwong@ added support for implicit testing to scoped_ptr<>. Removes
these in content/.
BUG=232084
Review URL: https://codereview.chromium.org/14081010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194608 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/plugin/plugin_thread.cc')
-rw-r--r-- | content/plugin/plugin_thread.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/plugin/plugin_thread.cc b/content/plugin/plugin_thread.cc index ea0cbc1..9d3af8c 100644 --- a/content/plugin/plugin_thread.cc +++ b/content/plugin/plugin_thread.cc @@ -117,7 +117,7 @@ PluginThread::PluginThread() scoped_refptr<webkit::npapi::PluginLib> plugin( webkit::npapi::PluginLib::CreatePluginLib(plugin_path)); - if (plugin.get()) { + if (plugin) { plugin->NP_Initialize(); // For OOP plugins the plugin dll will be unloaded during process shutdown // time. @@ -170,7 +170,7 @@ void PluginThread::OnCreateChannel(int renderer_id, scoped_refptr<PluginChannel> channel(PluginChannel::GetPluginChannel( renderer_id, ChildProcess::current()->io_message_loop_proxy())); IPC::ChannelHandle channel_handle; - if (channel.get()) { + if (channel) { channel_handle.name = channel->channel_handle().name; #if defined(OS_POSIX) // On POSIX, pass the renderer-side FD. |