From bc7c5830c106536eed8cbbdaf330a91d467141ff Mon Sep 17 00:00:00 2001 From: "sidor@chromium.org" Date: Thu, 8 Sep 2011 03:30:41 +0000 Subject: 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 --- chrome/browser/extensions/extension_idle_api.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to '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 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; } -- cgit v1.1