diff options
author | sidor@chromium.org <sidor@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-08 21:24:21 +0000 |
---|---|---|
committer | sidor@chromium.org <sidor@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-08 21:24:21 +0000 |
commit | 7bf59028f40ec5bad8a044049d1883d5df0975a3 (patch) | |
tree | 8bc3ea2e5fd77de201359fc43e98e0ef7a29e7c6 /chrome/browser/extensions/extension_idle_api.cc | |
parent | 7fc4bbb04ebb386aee93758d869755a7ace7b93b (diff) | |
download | chromium_src-7bf59028f40ec5bad8a044049d1883d5df0975a3.zip chromium_src-7bf59028f40ec5bad8a044049d1883d5df0975a3.tar.gz chromium_src-7bf59028f40ec5bad8a044049d1883d5df0975a3.tar.bz2 |
UI fix for idle API for ChromeOS.
BUG=chromium-os:17167
TEST=None
Review URL: http://codereview.chromium.org/7851019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100252 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; } |