summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authorpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-24 00:55:19 +0000
committerpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-24 00:55:19 +0000
commitc824e0066e23566a485de978dcc8d1c5bb22a116 (patch)
treea31a6d879f237b120ef962eff35f5f694d851423 /webkit
parentaf3b384ee7cf50c07c7efd43205f044bdc6faa1c (diff)
downloadchromium_src-c824e0066e23566a485de978dcc8d1c5bb22a116.zip
chromium_src-c824e0066e23566a485de978dcc8d1c5bb22a116.tar.gz
chromium_src-c824e0066e23566a485de978dcc8d1c5bb22a116.tar.bz2
use WIN_OS, not WIN
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3888 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r--webkit/port/platform/chromium/PlatformScrollBarChromium.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/port/platform/chromium/PlatformScrollBarChromium.cpp b/webkit/port/platform/chromium/PlatformScrollBarChromium.cpp
index 77d60ed..6cd0033 100644
--- a/webkit/port/platform/chromium/PlatformScrollBarChromium.cpp
+++ b/webkit/port/platform/chromium/PlatformScrollBarChromium.cpp
@@ -89,7 +89,7 @@ static const int kLayoutTestScrollbarThumbGirth = 17;
/*static*/ int PlatformScrollbar::horizontalScrollbarHeight(
ScrollbarControlSize controlSize)
{
-#if PLATFORM(WIN)
+#if PLATFORM(WIN_OS)
return webkit_glue::IsLayoutTestMode() ? kMacScrollbarSize[controlSize] :
GetSystemMetrics(SM_CYHSCROLL);
#elif PLATFORM(UNIX)
@@ -100,7 +100,7 @@ static const int kLayoutTestScrollbarThumbGirth = 17;
/*static*/ int PlatformScrollbar::verticalScrollbarWidth(
ScrollbarControlSize controlSize)
{
-#if PLATFORM(WIN)
+#if PLATFORM(WIN_OS)
return webkit_glue::IsLayoutTestMode() ? kMacScrollbarSize[controlSize] :
GetSystemMetrics(SM_CXVSCROLL);
#elif PLATFORM(UNIX)