Reviewed by Sam.
authoradele@apple.com <adele@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 16 Jan 2008 06:54:48 +0000 (06:54 +0000)
committeradele@apple.com <adele@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 16 Jan 2008 06:54:48 +0000 (06:54 +0000)
        Remove unused variable for old media control background drawing code.

        * rendering/RenderThemeMac.h:
        * rendering/RenderThemeMac.mm:
        (WebCore::RenderThemeMac::RenderThemeMac):
        (WebCore::RenderThemeMac::~RenderThemeMac):

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

WebCore/ChangeLog
WebCore/rendering/RenderThemeMac.h
WebCore/rendering/RenderThemeMac.mm

index 087ff26..5f8867b 100644 (file)
@@ -1,3 +1,14 @@
+2008-01-15  Adele Peterson  <adele@apple.com>
+
+        Reviewed by Sam.
+
+        Remove unused variable for old media control background drawing code.
+
+        * rendering/RenderThemeMac.h:
+        * rendering/RenderThemeMac.mm:
+        (WebCore::RenderThemeMac::RenderThemeMac):
+        (WebCore::RenderThemeMac::~RenderThemeMac):
+
 2008-01-15  Sam Weinig  <sam@webkit.org>
 
         Reviewed by Geoffrey Garen.
index e6b2818..63be3fa 100644 (file)
@@ -199,7 +199,6 @@ private:
     mutable RetainPtr<NSSliderCell> m_sliderThumbHorizontal;
     mutable RetainPtr<NSSliderCell> m_sliderThumbVertical;
     mutable Image* m_resizeCornerImage;
-    mutable Image* m_mediaControlBackgroundImage;
 
     bool m_isSliderThumbHorizontalPressed;
     bool m_isSliderThumbVerticalPressed;
index 6fa92cd..fac72eb 100644 (file)
@@ -105,7 +105,6 @@ RenderTheme* theme()
 
 RenderThemeMac::RenderThemeMac()
     : m_resizeCornerImage(0)
-    , m_mediaControlBackgroundImage(0)
     , m_isSliderThumbHorizontalPressed(false)
     , m_isSliderThumbVerticalPressed(false)
     , m_notificationObserver(AdoptNS, [[WebCoreRenderThemeNotificationObserver alloc] initWithTheme:this])
@@ -120,7 +119,6 @@ RenderThemeMac::~RenderThemeMac()
 {
     [[NSNotificationCenter defaultCenter] removeObserver:m_notificationObserver.get()];
     delete m_resizeCornerImage;
-    delete m_mediaControlBackgroundImage;
 }
 
 Color RenderThemeMac::platformActiveSelectionBackgroundColor() const