summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/plugin_globals.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/proxy/plugin_globals.cc')
-rw-r--r--ppapi/proxy/plugin_globals.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ppapi/proxy/plugin_globals.cc b/ppapi/proxy/plugin_globals.cc
index 3083832..fba5b1f 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;