diff options
author | sidor@chromium.org <sidor@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-08 03:30:41 +0000 |
---|---|---|
committer | sidor@chromium.org <sidor@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-08 03:30:41 +0000 |
commit | bc7c5830c106536eed8cbbdaf330a91d467141ff (patch) | |
tree | 7cc343888e01673bebac31ace67a3f3a961bd09d /chrome/browser/extensions/extension_idle_api.cc | |
parent | 2148db9477774635644a6643d7b23fada6ab72fd (diff) | |
download | chromium_src-bc7c5830c106536eed8cbbdaf330a91d467141ff.zip chromium_src-bc7c5830c106536eed8cbbdaf330a91d467141ff.tar.gz chromium_src-bc7c5830c106536eed8cbbdaf330a91d467141ff.tar.bz2 |
UI fix for idle API on ChromeOS.
BUG=chromium-os:17167
TEST=None.
Review URL: http://codereview.chromium.org/7800018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100093 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, 2 insertions, 3 deletions
diff --git a/chrome/browser/extensions/extension_idle_api.cc b/chrome/browser/extensions/extension_idle_api.cc index f52f4b7..a3c45a5 100644 --- a/chrome/browser/extensions/extension_idle_api.cc +++ b/chrome/browser/extensions/extension_idle_api.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 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,8 +169,7 @@ bool ExtensionIdleQueryStateFunction::RunImpl() { polling_data.state = IDLE_STATE_UNKNOWN; CalculateIdleState(threshold, base::Bind(&ExtensionIdleQueryStateFunction::IdleStateCallback, - base::Unretained(this), threshold)); - + this, threshold)); // Don't send the response, it'll be sent by our callback return true; } |