summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-30 23:02:40 +0000
committertedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-30 23:02:40 +0000
commit32812124f0b00f609a93e32d928239740c55f04d (patch)
treee2c7570ad5aafbc1f8c00d7fa69a63f826a4155f
parent575fa1300dda6702e22fbde9ba91c90579d51de0 (diff)
downloadchromium_src-32812124f0b00f609a93e32d928239740c55f04d.zip
chromium_src-32812124f0b00f609a93e32d928239740c55f04d.tar.gz
chromium_src-32812124f0b00f609a93e32d928239740c55f04d.tar.bz2
Update a few more function calls to use TimeDeltas instead of int ms.
I spotted another interface regression and wanted to fix it. Thanks for reviewing. R=johnnyg@chromium.org BUG=108171 TEST= Review URL: http://codereview.chromium.org/9104015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119757 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/notifications/balloon_collection_impl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/notifications/balloon_collection_impl.cc b/chrome/browser/notifications/balloon_collection_impl.cc
index 105a309..d1a662f 100644
--- a/chrome/browser/notifications/balloon_collection_impl.cc
+++ b/chrome/browser/notifications/balloon_collection_impl.cc
@@ -32,7 +32,7 @@ const int kMinAllowedBalloonCount = 2;
// Delay from the mouse leaving the balloon collection before
// there is a relayout, in milliseconds.
-const int kRepositionDelay = 300;
+const int kRepositionDelayMs = 300;
// The spacing between the balloon and the panel.
const int kVerticalSpacingBetweenBalloonAndPanel = 5;
@@ -264,7 +264,7 @@ void BalloonCollectionImpl::HandleMouseMoveEvent() {
FROM_HERE,
base::Bind(&BalloonCollectionImpl::CancelOffsets,
reposition_factory_.GetWeakPtr()),
- kRepositionDelay);
+ base::TimeDelta::FromMilliseconds(kRepositionDelayMs));
}
} else {
// Mouse moved back into the region. Cancel the reposition.