summaryrefslogtreecommitdiffstats
path: root/base/prefs/pref_member.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/prefs/pref_member.cc')
-rw-r--r--base/prefs/pref_member.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/prefs/pref_member.cc b/base/prefs/pref_member.cc
index 8a97818..a772243 100644
--- a/base/prefs/pref_member.cc
+++ b/base/prefs/pref_member.cc
@@ -100,7 +100,7 @@ PrefMemberBase::Internal::~Internal() { }
bool PrefMemberBase::Internal::IsOnCorrectThread() const {
// In unit tests, there may not be a message loop.
- return thread_loop_ == NULL || thread_loop_->BelongsToCurrentThread();
+ return thread_loop_.get() == NULL || thread_loop_->BelongsToCurrentThread();
}
void PrefMemberBase::Internal::UpdateValue(