summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/android/SharedTimerAndroid.cpp
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2012-05-18 19:26:22 -0700
committerJohn Reck <jreck@google.com>2012-05-18 20:48:55 -0700
commite7500725fc05f45543cecae55dced30571158608 (patch)
treefa2aa74a078dd030e30e8689295066621cece7d3 /Source/WebCore/platform/android/SharedTimerAndroid.cpp
parent1e59a334a1203c7be3fff2f9dbf94fee5b879d20 (diff)
downloadexternal_webkit-e7500725fc05f45543cecae55dced30571158608.zip
external_webkit-e7500725fc05f45543cecae55dced30571158608.tar.gz
external_webkit-e7500725fc05f45543cecae55dced30571158608.tar.bz2
Switch to a 4ms/1s timer
Bug: 6523124 Bug: 6523033 Use a 4ms timer for foreground tabs, and a 1s timer for background tabs Change-Id: Iea061d63adf82f6e17dd2d47d382fcdfc588b7d3
Diffstat (limited to 'Source/WebCore/platform/android/SharedTimerAndroid.cpp')
-rw-r--r--Source/WebCore/platform/android/SharedTimerAndroid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/platform/android/SharedTimerAndroid.cpp b/Source/WebCore/platform/android/SharedTimerAndroid.cpp
index a3f3db5..92223d5 100644
--- a/Source/WebCore/platform/android/SharedTimerAndroid.cpp
+++ b/Source/WebCore/platform/android/SharedTimerAndroid.cpp
@@ -51,7 +51,7 @@ void setSharedTimerFireTime(double fireTime)
{
long long timeInMs = static_cast<long long>((fireTime - WTF::currentTime()) * 1000);
- ALOGV("setSharedTimerFireTime: in %ld millisec", timeInMs);
+ ALOGV("setSharedTimerFireTime: in %d millisec", (int)timeInMs);
if (JavaSharedClient::GetTimerClient())
JavaSharedClient::GetTimerClient()->setSharedTimer(timeInMs);
}