| Index: chrome/browser/profile_resetter/resettable_settings_snapshot.cc
|
| diff --git a/chrome/browser/profile_resetter/resettable_settings_snapshot.cc b/chrome/browser/profile_resetter/resettable_settings_snapshot.cc
|
| index 5d2fedb050f31ba44add6302c884c8e51fee94f5..439153c017971521a2614ebc6f37b3f8b21d76ff 100644
|
| --- a/chrome/browser/profile_resetter/resettable_settings_snapshot.cc
|
| +++ b/chrome/browser/profile_resetter/resettable_settings_snapshot.cc
|
| @@ -90,7 +90,7 @@ ResettableSettingsSnapshot::ResettableSettingsSnapshot(
|
|
|
| ResettableSettingsSnapshot::~ResettableSettingsSnapshot() {
|
| DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
|
| - if (cancellation_flag_)
|
| + if (cancellation_flag_.get())
|
| cancellation_flag_->data.Set();
|
| }
|
|
|
| @@ -134,7 +134,7 @@ int ResettableSettingsSnapshot::FindDifferentFields(
|
| void ResettableSettingsSnapshot::RequestShortcuts(
|
| const base::Closure& callback) {
|
| DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
|
| - DCHECK(!cancellation_flag_ && !shortcuts_determined());
|
| + DCHECK(!cancellation_flag_.get() && !shortcuts_determined());
|
|
|
| cancellation_flag_ = new SharedCancellationFlag;
|
| content::BrowserThread::PostTaskAndReplyWithResult(
|
|
|