Changeset 123486 in webkit


Ignore:
Timestamp:
Jul 24, 2012, 9:17:57 AM (13 years ago)
Author:
mitz@apple.com
Message:

<rdar://problem/11945102> REGRESSION (r109451): Overlay scrollbars always use the default style, regardless of background color
https://bugs.webkit.org/show_bug.cgi?id=92115

Reviewed by Mark Rowe.

  • platform/Scrollbar.cpp:

(WebCore::Scrollbar::scrollbarOverlayStyle): Reversed an incorrect null check.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r123485 r123486  
     12012-07-24  Dan Bernstein  <mitz@apple.com>
     2
     3        <rdar://problem/11945102> REGRESSION (r109451): Overlay scrollbars always use the default style, regardless of background color
     4        https://bugs.webkit.org/show_bug.cgi?id=92115
     5
     6        Reviewed by Mark Rowe.
     7
     8        * platform/Scrollbar.cpp:
     9        (WebCore::Scrollbar::scrollbarOverlayStyle): Reversed an incorrect null check.
     10
    1112012-07-24  Andrew Wilson  <atwilson@chromium.org>
    212
  • trunk/Source/WebCore/platform/Scrollbar.cpp

    r109451 r123486  
    115115ScrollbarOverlayStyle Scrollbar::scrollbarOverlayStyle() const
    116116{
    117     return m_scrollableArea ? ScrollbarOverlayStyleDefault : m_scrollableArea->scrollbarOverlayStyle();
     117    return m_scrollableArea ? m_scrollableArea->scrollbarOverlayStyle() : ScrollbarOverlayStyleDefault;
    118118}
    119119
Note: See TracChangeset for help on using the changeset viewer.