2008-03-05 Brent Fulgham <bfulgham@gmail.com>
authormrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 5 Mar 2008 22:44:12 +0000 (22:44 +0000)
committermrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 5 Mar 2008 22:44:12 +0000 (22:44 +0000)
        Reviewed by Adam Roben.

        Modify source files to use the USE(SAFARI_THEME) macro, rather than
        USE_SAFARI_THEME.  (http://bugs.webkit.org/show_bug.cgi?id=17683)

        * WebCore/platform/win/PlatformScrollBarSafari.cpp
        * WebCore/rendering/RenderThemeSafari.cpp
        * WebCore/rendering/RenderThemeSafari.h
        * config.h: Move definition of WTF_USE_SAFARI_THEME here

2008-03-05  Brent Fulgham  <bfulgham@gmail.com>

        Reviewed by Adam Roben.

        Remove definition of WTF_USE_SAFARI_THEME from wtf/Platform.h
        because the PLATFORM(CG) flag is not set until config.h has
        already included this file.

        * wtf/Platform.h:  Remove useless definition of WTF_USE_SAFARI_THEME

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@30812 268f45cc-cd09-0410-ab3c-d52691b4dbfc

JavaScriptCore/ChangeLog
JavaScriptCore/wtf/Platform.h
WebCore/ChangeLog
WebCore/config.h
WebCore/platform/win/PlatformScrollBarSafari.cpp
WebCore/rendering/RenderThemeSafari.cpp
WebCore/rendering/RenderThemeSafari.h

index 8e1e27be348723f590b19c682a149c2b859758b8..144a32b13645542e1c563ad96795b7c2141d2d3d 100644 (file)
@@ -1,3 +1,13 @@
+2008-03-05  Brent Fulgham  <bfulgham@gmail.com>
+
+        Reviewed by Adam Roben.
+
+        Remove definition of WTF_USE_SAFARI_THEME from wtf/Platform.h
+        because the PLATFORM(CG) flag is not set until config.h has
+        already included this file.
+
+        * wtf/Platform.h:  Remove useless definition of WTF_USE_SAFARI_THEME
+
 2008-03-05  Brady Eidson  <beidson@apple.com>
 
         Reviewed by Alexey and Mark Rowe
index 5396f8ea339d03200b8ef6a713e27c6b3abd933f..d683e6a1c996faccf8eae84a53d15a32d3b0f725 100644 (file)
 #define WTF_PLATFORM_CAIRO 1
 #endif
 
-#if PLATFORM(WIN)&& PLATFORM(CG)
-#define WTF_USE_SAFARI_THEME 1
-#endif
-
 #ifdef __S60__
 // we are cross-compiling, it is not really windows
 #undef WTF_PLATFORM_WIN_OS
index 290b50a5cfcc134588a4adfe71c56237b21574db..1d68522b85f7bf337d94ba95fff6a99948acc038 100644 (file)
@@ -1,3 +1,15 @@
+2008-03-05  Brent Fulgham <bfulgham@gmail.com>
+
+        Reviewed by Adam Roben.
+
+        Modify source files to use the USE(SAFARI_THEME) macro, rather than
+        USE_SAFARI_THEME.  (http://bugs.webkit.org/show_bug.cgi?id=17683)
+
+        * WebCore/platform/win/PlatformScrollBarSafari.cpp
+        * WebCore/rendering/RenderThemeSafari.cpp
+        * WebCore/rendering/RenderThemeSafari.h
+        * config.h: Move definition of WTF_USE_SAFARI_THEME here 
+
 2008-03-05  Brady Eidson  <beidson@apple.com>
 
         Reviewed by Alexey and Mark Rowe
index 05f6a5d5b5a729c03f0b6fd76f737927f5d885db..ca97271885c1f6e944cbd13569a768ef3879f316 100644 (file)
@@ -146,3 +146,7 @@ typedef float CGFloat;
 #undef ENABLE_FTPDIR
 #define ENABLE_FTPDIR 0
 #endif
+
+#if PLATFORM(WIN) && PLATFORM(CG)
+#define WTF_USE_SAFARI_THEME 1
+#endif
index 6485914a87eb30533015cc716adfbb219702df3e..4d7d5bfac1d27d06fdc96c80894b12139405f388 100644 (file)
@@ -25,7 +25,7 @@
 
 #include "config.h"
 
-#ifdef USE_SAFARI_THEME 
+#if USE(SAFARI_THEME)
 
 #include "PlatformScrollBar.h"
 
@@ -657,4 +657,4 @@ void PlatformScrollbar::themeChanged()
 
 }
 
-#endif // defined(USE_SAFARI_THEME)
+#endif // USE(SAFARI_THEME)
index 56b25df293e7f80ab4d5ce16cf4c1b0fa86934ce..0d02a6f200e7840bb12dbb276b26b34beca15082 100644 (file)
@@ -21,7 +21,7 @@
 #include "config.h"
 #include "RenderThemeSafari.h"
 
-#ifdef USE_SAFARI_THEME
+#if USE(SAFARI_THEME)
 
 #include "CSSValueKeywords.h"
 #include "Document.h"
@@ -1224,4 +1224,4 @@ bool RenderThemeSafari::paintMediaSliderThumb(RenderObject* o, const RenderObjec
 
 } // namespace WebCore
 
-#endif // defined(USE_SAFARI_THEME)
+#endif // #if USE(SAFARI_THEME)
index 543dd2263725a5d9c053bd6fca47cf7c4be3a8be..e28ab905e3ae888d673d38ceada1ba7f201d17d3 100644 (file)
@@ -21,7 +21,7 @@
 #ifndef RenderThemeSafari_h
 #define RenderThemeSafari_h
 
-#ifdef USE_SAFARI_THEME
+#if USE(SAFARI_THEME)
 
 #include "RenderTheme.h"
 
@@ -176,6 +176,6 @@ private:
 
 } // namespace WebCore
 
-#endif // defined(USE_SAFARI_THEME)
+#endif // #if USE(SAFARI_THEME)
 
 #endif // RenderThemeSafari_h