summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/win/SystemTimeWin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/win/SystemTimeWin.cpp')
-rw-r--r--WebCore/platform/win/SystemTimeWin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/platform/win/SystemTimeWin.cpp b/WebCore/platform/win/SystemTimeWin.cpp
index 8c25c32..451262d 100644
--- a/WebCore/platform/win/SystemTimeWin.cpp
+++ b/WebCore/platform/win/SystemTimeWin.cpp
@@ -38,7 +38,7 @@ namespace WebCore {
float userIdleTime()
{
#if !OS(WINCE)
- LASTINPUTINFO lastInputInfo = {0};
+ LASTINPUTINFO lastInputInfo;
lastInputInfo.cbSize = sizeof(LASTINPUTINFO);
if (::GetLastInputInfo(&lastInputInfo))
return (GetTickCount() - lastInputInfo.dwTime) * 0.001; // ::GetTickCount returns ms of uptime valid for up to 49.7 days.