diff options
Diffstat (limited to 'WebCore/platform/win/PlatformScreenWin.cpp')
-rw-r--r-- | WebCore/platform/win/PlatformScreenWin.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/WebCore/platform/win/PlatformScreenWin.cpp b/WebCore/platform/win/PlatformScreenWin.cpp index 6e0f861..4af9e17 100644 --- a/WebCore/platform/win/PlatformScreenWin.cpp +++ b/WebCore/platform/win/PlatformScreenWin.cpp @@ -27,6 +27,7 @@ #include "config.h" #include "PlatformScreen.h" +#include "HostWindow.h" #include "IntRect.h" #include "FloatRect.h" #include "Frame.h" @@ -53,7 +54,7 @@ static DEVMODE deviceInfoForWidget(Widget* widget) DEVMODE deviceInfo; deviceInfo.dmSize = sizeof(DEVMODE); deviceInfo.dmDriverExtra = 0; -#if PLATFORM(WINCE) +#if OS(WINCE) if (!EnumDisplaySettings(0, ENUM_CURRENT_SETTINGS, &deviceInfo)) deviceInfo.dmBitsPerPel = 16; #else @@ -79,7 +80,7 @@ int screenDepthPerComponent(Widget* widget) bool screenIsMonochrome(Widget* widget) { -#if PLATFORM(WINCE) +#if OS(WINCE) // EnumDisplaySettings doesn't set dmColor in DEVMODE. return false; #else |