| Index: base/prefs/pref_member.cc
|
| diff --git a/base/prefs/pref_member.cc b/base/prefs/pref_member.cc
|
| index 8a97818cee32f7159977b3736122e380ce2ab798..a77224356677252f6bf09ce3ca1be165035dc47c 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(
|
|
|