| Index: ppapi/proxy/plugin_globals.cc
|
| diff --git a/ppapi/proxy/plugin_globals.cc b/ppapi/proxy/plugin_globals.cc
|
| index 3083832b341a354a75ef750db0ed9847abc81c27..fba5b1fe762e5ca4957a2db51058d7d6941f2fe7 100644
|
| --- a/ppapi/proxy/plugin_globals.cc
|
| +++ b/ppapi/proxy/plugin_globals.cc
|
| @@ -76,7 +76,7 @@ PluginGlobals::~PluginGlobals() {
|
| // count, so this will delete the MessageLoop resource. We do this before
|
| // we clear plugin_globals_, because the Resource destructor tries to access
|
| // this PluginGlobals.
|
| - DCHECK(!loop_for_main_thread_ || loop_for_main_thread_->HasOneRef());
|
| + DCHECK(!loop_for_main_thread_.get() || loop_for_main_thread_->HasOneRef());
|
| loop_for_main_thread_ = NULL;
|
| }
|
| plugin_globals_ = NULL;
|
|
|