| Index: webkit/plugins/npapi/plugin_host.cc
|
| diff --git a/webkit/plugins/npapi/plugin_host.cc b/webkit/plugins/npapi/plugin_host.cc
|
| index dbd405251578e6e6afa96afba27e2f17793a3150..927338386e22d5dde492f660b1c76b14ff2df3ba 100644
|
| --- a/webkit/plugins/npapi/plugin_host.cc
|
| +++ b/webkit/plugins/npapi/plugin_host.cc
|
| @@ -87,14 +87,14 @@ PluginHost::PluginHost() {
|
| PluginHost::~PluginHost() {
|
| }
|
|
|
| -PluginHost *PluginHost::Singleton() {
|
| +PluginHost* PluginHost::Singleton() {
|
| CR_DEFINE_STATIC_LOCAL(scoped_refptr<PluginHost>, singleton, ());
|
| - if (singleton.get() == NULL) {
|
| + if (singleton) {
|
| singleton = new PluginHost();
|
| }
|
|
|
| - DCHECK(singleton.get() != NULL);
|
| - return singleton;
|
| + DCHECK(singleton);
|
| + return singleton.get();
|
| }
|
|
|
| void PluginHost::InitializeHostFuncs() {
|
|
|