Index: content/browser/plugin_service_impl.cc |
diff --git a/content/browser/plugin_service_impl.cc b/content/browser/plugin_service_impl.cc |
index ff8aed466ff09936407f95a742f806f7cd6a8e6c..5f68214737f0ba30204080e0ed42a261c3f7b856 100644 |
--- a/content/browser/plugin_service_impl.cc |
+++ b/content/browser/plugin_service_impl.cc |
@@ -603,7 +603,7 @@ void PluginServiceImpl::GetPlugins(const GetPluginsCallback& callback) { |
} else { |
// If we switch back to loading plugins in process, then we need to make |
// sure g_thread_init() gets called since plugins may call glib at load. |
- if (!plugin_loader_) |
+ if (!plugin_loader_.get()) |
plugin_loader_ = new PluginLoaderPosix; |
BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, |
base::Bind(&PluginLoaderPosix::LoadPlugins, plugin_loader_, |