summaryrefslogtreecommitdiffstats
path: root/ppapi/shared_impl/tracked_callback.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/shared_impl/tracked_callback.cc')
-rw-r--r--ppapi/shared_impl/tracked_callback.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ppapi/shared_impl/tracked_callback.cc b/ppapi/shared_impl/tracked_callback.cc
index 70565a1..7ddfd39 100644
--- a/ppapi/shared_impl/tracked_callback.cc
+++ b/ppapi/shared_impl/tracked_callback.cc
@@ -167,7 +167,7 @@ void TrackedCallback::PostRun(int32_t result) {
} else {
base::Closure callback_closure(
RunWhileLocked(base::Bind(&TrackedCallback::Run, this, result)));
- if (target_loop_) {
+ if (target_loop_.get()) {
target_loop_->PostClosure(FROM_HERE, callback_closure, 0);
} else {
// We must be running in-process and on the main thread (the Enter