diff options
author | dhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-08 04:52:50 +0000 |
---|---|---|
committer | dhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-08 04:52:50 +0000 |
commit | 49a214af4281b34eb61b3e77d324322891a968b9 (patch) | |
tree | cea034c403aa320c2d46c322c755a43d00a6145f /chrome/browser/extensions/extension_idle_api.cc | |
parent | 4c78a3e048c7d6f76f1383063d28294e3f8f513c (diff) | |
download | chromium_src-49a214af4281b34eb61b3e77d324322891a968b9.zip chromium_src-49a214af4281b34eb61b3e77d324322891a968b9.tar.gz chromium_src-49a214af4281b34eb61b3e77d324322891a968b9.tar.bz2 |
Revert 100093 - UI fix for idle API on ChromeOS.
BUG=chromium-os:17167
TEST=None.
Review URL: http://codereview.chromium.org/7800018
TBR=sidor@chromium.org
Review URL: http://codereview.chromium.org/7847014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100104 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_idle_api.cc')
-rw-r--r-- | chrome/browser/extensions/extension_idle_api.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/extensions/extension_idle_api.cc b/chrome/browser/extensions/extension_idle_api.cc index a3c45a5..f52f4b7 100644 --- a/chrome/browser/extensions/extension_idle_api.cc +++ b/chrome/browser/extensions/extension_idle_api.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -169,7 +169,8 @@ bool ExtensionIdleQueryStateFunction::RunImpl() { polling_data.state = IDLE_STATE_UNKNOWN; CalculateIdleState(threshold, base::Bind(&ExtensionIdleQueryStateFunction::IdleStateCallback, - this, threshold)); + base::Unretained(this), threshold)); + // Don't send the response, it'll be sent by our callback return true; } |