| Index: chrome/browser/extensions/extension_idle_api.cc
|
| diff --git a/chrome/browser/extensions/extension_idle_api.cc b/chrome/browser/extensions/extension_idle_api.cc
|
| index 87ce7641ce56291ff96a6dba86677042d0e0c230..fdfce260eb0c236fc7646dfe43620d5883ff4c26 100644
|
| --- a/chrome/browser/extensions/extension_idle_api.cc
|
| +++ b/chrome/browser/extensions/extension_idle_api.cc
|
| @@ -155,7 +155,7 @@ bool ExtensionIdleQueryStateFunction::RunImpl() {
|
|
|
| IdleState state = ExtensionIdleCache::CalculateIdleState(threshold);
|
| if (state != IDLE_STATE_UNKNOWN) {
|
| - result_.reset(CreateIdleValue(state));
|
| + SetResult(CreateIdleValue(state));
|
| SendResponse(true);
|
| return true;
|
| }
|
| @@ -175,7 +175,7 @@ void ExtensionIdleQueryStateFunction::IdleStateCallback(int threshold,
|
| ExtensionIdlePollingTask::CreateNewPollTask(threshold, state, profile_);
|
| }
|
|
|
| - result_.reset(CreateIdleValue(state));
|
| + SetResult(CreateIdleValue(state));
|
|
|
| ExtensionIdleCache::UpdateCache(threshold, state);
|
|
|
|
|