Test fix after r177444.
authormmaxfield@apple.com <mmaxfield@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 17 Dec 2014 18:56:59 +0000 (18:56 +0000)
committermmaxfield@apple.com <mmaxfield@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 17 Dec 2014 18:56:59 +0000 (18:56 +0000)
Unreviewed.

* accessibility/AccessibilitySlider.cpp:
(WebCore::AccessibilitySliderThumb::elementRect):

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

Source/WebCore/ChangeLog
Source/WebCore/accessibility/AccessibilitySlider.cpp

index ed972a3dd997e28bc538b8d4a860a1ffa506dd35..5d0888c7a8c769d319b5856ad39cffbed253bb05 100644 (file)
@@ -1,3 +1,12 @@
+2014-12-17  Myles C. Maxfield  <mmaxfield@apple.com>
+
+        Test fix after r177444.
+
+        Unreviewed.
+
+        * accessibility/AccessibilitySlider.cpp:
+        (WebCore::AccessibilitySliderThumb::elementRect):
+
 2014-12-16  Myles C. Maxfield  <mmaxfield@apple.com>
 
         Addressing more post-review comments in r177035
index 23678c5c7d4071c29bf68338ee3e8d03dc20c3fb..6b870a67f83824d28d8da2381d863fe53f71e327 100644 (file)
@@ -159,7 +159,7 @@ LayoutRect AccessibilitySliderThumb::elementRect() const
     RenderObject* sliderRenderer = m_parent->renderer();
     if (!sliderRenderer || !sliderRenderer->isSlider())
         return LayoutRect();
-    if (auto* thumbRenderer = downcast<RenderSlider>(*sliderRenderer).element().renderer())
+    if (auto* thumbRenderer = downcast<RenderSlider>(*sliderRenderer).element().sliderThumbElement()->renderer())
         return thumbRenderer->absoluteBoundingBoxRect();
     return LayoutRect();
 }