Build fix.
authoradele@apple.com <adele@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 16 Jan 2008 00:46:09 +0000 (00:46 +0000)
committeradele@apple.com <adele@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 16 Jan 2008 00:46:09 +0000 (00:46 +0000)
        * rendering/RenderThemeSafari.cpp:

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

WebCore/ChangeLog
WebCore/rendering/RenderThemeSafari.cpp

index d61345e..8b3f6d9 100644 (file)
@@ -1,3 +1,9 @@
+2008-01-15  Adele Peterson  <adele@apple.com>
+
+        Build fix.
+
+        * rendering/RenderThemeSafari.cpp:
+
 2008-01-15  Dan Bernstein  <mitz@apple.com>
 
         Reviewed by Darin Adler.
index 879ad41..6b51a8b 100644 (file)
@@ -74,7 +74,9 @@ SOFT_LINK_LIBRARY(SafariTheme)
 #endif
 
 SOFT_LINK(SafariTheme, paintThemePart, void, __stdcall, (ThemePart part, CGContextRef context, const CGRect& rect, NSControlSize size, ThemeControlState state), (part, context, rect, size, state))
+#if !defined(SAFARI_THEME_VERSION) || SAFARI_THEME_VERSION < 2
 SOFT_LINK(SafariTheme, STPaintProgressIndicator, void, APIENTRY, (ProgressIndicatorType type, CGContextRef context, const CGRect& rect, NSControlSize size, ThemeControlState state, float value), (type, context, rect, size, state, value))
+#endif
 
 ThemeControlState RenderThemeSafari::determineState(RenderObject* o) const
 {