Title: [90075] trunk/Source/WebCore
Revision
90075
Author
bfulg...@webkit.org
Date
2011-06-29 17:46:42 -0700 (Wed, 29 Jun 2011)

Log Message

[WinCE] Correct logical state of WINCE test.

* platform/win/ScrollbarThemeWin.cpp: The #if OS(WINCE)
  should have been #if !OS(WINCE)
(WebCore::ScrollbarThemeWin::paintTrackPiece):
(WebCore::ScrollbarThemeWin::paintButton):
(WebCore::ScrollbarThemeWin::paintThumb):
* rendering/RenderThemeWin.cpp: ditto.
(WebCore::drawControl):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (90074 => 90075)


--- trunk/Source/WebCore/ChangeLog	2011-06-30 00:42:39 UTC (rev 90074)
+++ trunk/Source/WebCore/ChangeLog	2011-06-30 00:46:42 UTC (rev 90075)
@@ -1,3 +1,15 @@
+2011-06-29  Brent Fulgham  <bfulg...@webkit.org>
+
+        [WinCE] Correct logical state of WINCE test.
+
+        * platform/win/ScrollbarThemeWin.cpp: The #if OS(WINCE)
+          should have been #if !OS(WINCE)
+        (WebCore::ScrollbarThemeWin::paintTrackPiece):
+        (WebCore::ScrollbarThemeWin::paintButton):
+        (WebCore::ScrollbarThemeWin::paintThumb):
+        * rendering/RenderThemeWin.cpp: ditto.
+        (WebCore::drawControl):
+
 2011-06-29  Justin Garcia  <justin.gar...@apple.com>
 
         Reviewed by Enrica Casucci.

Modified: trunk/Source/WebCore/platform/win/ScrollbarThemeWin.cpp (90074 => 90075)


--- trunk/Source/WebCore/platform/win/ScrollbarThemeWin.cpp	2011-06-30 00:42:39 UTC (rev 90074)
+++ trunk/Source/WebCore/platform/win/ScrollbarThemeWin.cpp	2011-06-30 00:46:42 UTC (rev 90075)
@@ -270,7 +270,7 @@
         }
     }
 
-#if OS(WINCE)
+#if !OS(WINCE)
     if (!alphaBlend && !context->inTransparencyLayer())
         DIBPixelData::setRGBABitmapAlpha(windowsContext.hdc(), rect, 255);
 #endif
@@ -324,7 +324,7 @@
     else
         ::DrawFrameControl(windowsContext.hdc(), &themeRect, DFC_SCROLL, classicState);
 
-#if OS(WINCE)
+#if !OS(WINCE)
     if (!alphaBlend && !context->inTransparencyLayer())
         DIBPixelData::setRGBABitmapAlpha(windowsContext.hdc(), rect, 255);
 #endif
@@ -383,7 +383,7 @@
     } else
         ::DrawEdge(hdc, &themeRect, EDGE_RAISED, BF_RECT | BF_MIDDLE);
 
-#if OS(WINCE)
+#if !OS(WINCE)
     if (!alphaBlend && !context->inTransparencyLayer())
         DIBPixelData::setRGBABitmapAlpha(hdc, rect, 255);
 #endif

Modified: trunk/Source/WebCore/rendering/RenderThemeWin.cpp (90074 => 90075)


--- trunk/Source/WebCore/rendering/RenderThemeWin.cpp	2011-06-30 00:42:39 UTC (rev 90074)
+++ trunk/Source/WebCore/rendering/RenderThemeWin.cpp	2011-06-30 00:46:42 UTC (rev 90075)
@@ -673,7 +673,7 @@
     }
 
 
-#if OS(WINCE)
+#if !OS(WINCE)
     if (!alphaBlend && !context->inTransparencyLayer())
         DIBPixelData::setRGBABitmapAlpha(windowsContext.hdc(), r, 255);
 #endif
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to