Index: content/plugin/plugin_thread.cc |
diff --git a/content/plugin/plugin_thread.cc b/content/plugin/plugin_thread.cc |
index ea0cbc11b7d6351e5b59cd85cfe9e73da77e9d20..9d3af8c05715f025cd4b06861c0c9b974314a6ec 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. |