summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/wince/SharedTimerWince.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/wince/SharedTimerWince.cpp')
-rw-r--r--WebCore/platform/wince/SharedTimerWince.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/WebCore/platform/wince/SharedTimerWince.cpp b/WebCore/platform/wince/SharedTimerWince.cpp
index a620a10..5f6a386 100644
--- a/WebCore/platform/wince/SharedTimerWince.cpp
+++ b/WebCore/platform/wince/SharedTimerWince.cpp
@@ -29,6 +29,7 @@
#include "Page.h"
#include "SystemTime.h"
+#include "WebCoreInstanceHandle.h"
#include "Widget.h"
#include <wtf/Assertions.h>
#include <wtf/CurrentTime.h>
@@ -80,12 +81,12 @@ static void initializeOffScreenTimerWindow()
WNDCLASS wcex = {0};
wcex.lpfnWndProc = TimerWindowWndProc;
- wcex.hInstance = Page::instanceHandle();
+ wcex.hInstance = WebCore::instanceHandle();
wcex.lpszClassName = kTimerWindowClassName;
RegisterClass(&wcex);
timerWindowHandle = CreateWindow(kTimerWindowClassName, 0, 0,
- CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, 0, 0, Page::instanceHandle(), 0);
+ CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, 0, 0, WebCore::instanceHandle(), 0);
}
void setSharedTimerFiredFunction(void (*f)())