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

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

WebCore/ChangeLog
WebCore/rendering/RenderThemeSafari.cpp

index 191d5ea..bccb5da 100644 (file)
@@ -1,3 +1,9 @@
+2008-01-15  Adele Peterson  <adele@apple.com>
+
+        Build fix.
+
+        * rendering/RenderThemeSafari.cpp: Removing MediaBackgroundAppearance.
+
 2008-01-14  Samuel Weinig  <sam@webkit.org>
 
         Reviewed by Darin.
 2008-01-14  Samuel Weinig  <sam@webkit.org>
 
         Reviewed by Darin.
index ae8d963..75e50e4 100644 (file)
@@ -205,10 +205,10 @@ bool RenderThemeSafari::isControlStyled(const RenderStyle* style, const BorderDa
     if (style->appearance() == TextFieldAppearance || style->appearance() == TextAreaAppearance || style->appearance() == ListboxAppearance)
         return style->border() != border;
 #if !defined(SAFARI_THEME_VERSION) || SAFARI_THEME_VERSION < 2
     if (style->appearance() == TextFieldAppearance || style->appearance() == TextAreaAppearance || style->appearance() == ListboxAppearance)
         return style->border() != border;
 #if !defined(SAFARI_THEME_VERSION) || SAFARI_THEME_VERSION < 2
-    if (style->appearance() == MediaBackgroundAppearance || style->appearance() == MediaFullscreenButtonAppearance ||
-        style->appearance() == MediaMuteButtonAppearance || style->appearance() == MediaPlayButtonAppearance ||
-        style->appearance() == MediaSeekBackButtonAppearance || style->appearance() == MediaSeekForwardButtonAppearance ||
-        style->appearance() == MediaSliderAppearance || style->appearance() == MediaSliderThumbAppearance)
+    if (style->appearance() == MediaFullscreenButtonAppearance || style->appearance() == MediaMuteButtonAppearance || 
+        style->appearance() == MediaPlayButtonAppearance || style->appearance() == MediaSeekBackButtonAppearance || 
+        style->appearance() == MediaSeekForwardButtonAppearance || style->appearance() == MediaSliderAppearance || 
+        style->appearance() == MediaSliderThumbAppearance)
         return true;
 #endif
     return RenderTheme::isControlStyled(style, border, background, backgroundColor);
         return true;
 #endif
     return RenderTheme::isControlStyled(style, border, background, backgroundColor);