Index: content/plugin/plugin_channel.cc |
diff --git a/content/plugin/plugin_channel.cc b/content/plugin/plugin_channel.cc |
index 8569a3dfe71af6e622dd49842ba8e647c9743e62..3a27e61945e60e20388c6efce71ada3fe5ce3847 100644 |
--- a/content/plugin/plugin_channel.cc |
+++ b/content/plugin/plugin_channel.cc |
@@ -302,7 +302,7 @@ void PluginChannel::OnClearSiteData(const std::string& site, |
base::FilePath path = command_line->GetSwitchValuePath(switches::kPluginPath); |
scoped_refptr<webkit::npapi::PluginLib> plugin_lib( |
webkit::npapi::PluginLib::CreatePluginLib(path)); |
- if (plugin_lib.get()) { |
+ if (plugin_lib) { |
NPError err = plugin_lib->NP_Initialize(); |
if (err == NPERR_NO_ERROR) { |
const char* site_str = site.empty() ? NULL : site.c_str(); |