Permalink
Browse files

Build fix.

Stop calling -[NSSliderCell setTitle:]. It's never done anything on OS X.

* rendering/RenderThemeMac.mm:
(WebCore::RenderThemeMac::sliderThumbHorizontal):
(WebCore::RenderThemeMac::sliderThumbVertical):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130590 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information...
1 parent fe1696c commit 2f62cfa10711b93ba6bddf11f65fd6c9c8cea4c0 Mark Rowe committed Oct 6, 2012
Showing with 10 additions and 2 deletions.
  1. +10 −0 Source/WebCore/ChangeLog
  2. +0 −2 Source/WebCore/rendering/RenderThemeMac.mm
View
@@ -1,3 +1,13 @@
+2012-10-06 Mark Rowe <mrowe@apple.com>
+
+ Build fix.
+
+ Stop calling -[NSSliderCell setTitle:]. It's never done anything on OS X.
+
+ * rendering/RenderThemeMac.mm:
+ (WebCore::RenderThemeMac::sliderThumbHorizontal):
+ (WebCore::RenderThemeMac::sliderThumbVertical):
+
2012-10-06 Andreas Kling <kling@webkit.org>
Clipboard::types() should return an ordered collection.
@@ -2175,7 +2175,6 @@ static FloatRect getUnzoomedRectAndAdjustCurrentContext(RenderObject* o, const P
{
if (!m_sliderThumbHorizontal) {
m_sliderThumbHorizontal.adoptNS([[NSSliderCell alloc] init]);
- [m_sliderThumbHorizontal.get() setTitle:nil];
[m_sliderThumbHorizontal.get() setSliderType:NSLinearSlider];
[m_sliderThumbHorizontal.get() setControlSize:NSSmallControlSize];
[m_sliderThumbHorizontal.get() setFocusRingType:NSFocusRingTypeExterior];
@@ -2188,7 +2187,6 @@ static FloatRect getUnzoomedRectAndAdjustCurrentContext(RenderObject* o, const P
{
if (!m_sliderThumbVertical) {
m_sliderThumbVertical.adoptNS([[NSSliderCell alloc] init]);
- [m_sliderThumbVertical.get() setTitle:nil];
[m_sliderThumbVertical.get() setSliderType:NSLinearSlider];
[m_sliderThumbVertical.get() setControlSize:NSSmallControlSize];
[m_sliderThumbVertical.get() setFocusRingType:NSFocusRingTypeExterior];

0 comments on commit 2f62cfa

Please sign in to comment.