| 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..96951e979762f06c3b490e21c676c83fa3e61b23 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));
|
| + SetSingleResult(CreateIdleValue(state));
|
| SendResponse(true);
|
| return true;
|
| }
|
| @@ -175,7 +175,7 @@ void ExtensionIdleQueryStateFunction::IdleStateCallback(int threshold,
|
| ExtensionIdlePollingTask::CreateNewPollTask(threshold, state, profile_);
|
| }
|
|
|
| - result_.reset(CreateIdleValue(state));
|
| + SetSingleResult(CreateIdleValue(state));
|
|
|
| ExtensionIdleCache::UpdateCache(threshold, state);
|
|
|
|
|