https://bugs.webkit.org/show_bug.cgi?id=85309
authorbdakin@apple.com <bdakin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 2 May 2012 13:41:29 +0000 (13:41 +0000)
committerbdakin@apple.com <bdakin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 2 May 2012 13:41:29 +0000 (13:41 +0000)
supportsExpandedScrollbars() should check for the method we actually call rather
than a related method
-and corresponding-
<rdar://problem/11065691>

Reviewed by Anders Carlsson.

* platform/mac/ScrollbarThemeMac.mm:
(WebCore::supportsExpandedScrollbars):

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

Source/WebCore/ChangeLog
Source/WebCore/platform/mac/ScrollbarThemeMac.mm

index 738f99e..d896d09 100644 (file)
@@ -1,3 +1,16 @@
+2012-05-02  Beth Dakin  <bdakin@apple.com>
+
+        https://bugs.webkit.org/show_bug.cgi?id=85309
+        supportsExpandedScrollbars() should check for the method we actually call rather 
+        than a related method
+        -and corresponding-
+        <rdar://problem/11065691>
+
+        Reviewed by Anders Carlsson.
+
+        * platform/mac/ScrollbarThemeMac.mm:
+        (WebCore::supportsExpandedScrollbars):
+
 2012-05-02  Zalan Bujtas  <zbujtas@gmail.com>
 
         [Qt] Remove redundant updateViewportArguments() call from HTMLBodyElement::didNotifyDescendantInseretions()
index e47468b..9bebe0e 100644 (file)
@@ -140,7 +140,7 @@ static ScrollbarButtonsPlacement gButtonPlacement = ScrollbarButtonsDoubleEnd;
 static bool supportsExpandedScrollbars()
 {
     // FIXME: This is temporary until all platforms that support ScrollbarPainter support this part of the API.
-    static bool globalSupportsExpandedScrollbars = [NSClassFromString(@"NSScrollerImp") instancesRespondToSelector:@selector(isExpanded)];
+    static bool globalSupportsExpandedScrollbars = [NSClassFromString(@"NSScrollerImp") instancesRespondToSelector:@selector(setExpanded)];
     return globalSupportsExpandedScrollbars;
 }