summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_idle_api.cc
diff options
context:
space:
mode:
authorsidor@chromium.org <sidor@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-08 21:24:21 +0000
committersidor@chromium.org <sidor@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-08 21:24:21 +0000
commit7bf59028f40ec5bad8a044049d1883d5df0975a3 (patch)
tree8bc3ea2e5fd77de201359fc43e98e0ef7a29e7c6 /chrome/browser/extensions/extension_idle_api.cc
parent7fc4bbb04ebb386aee93758d869755a7ace7b93b (diff)
downloadchromium_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.cc5
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;
}