Changeset 41546 in webkit


Ignore:
Timestamp:
Mar 10, 2009 12:03:45 AM (15 years ago)
Author:
mitz@apple.com
Message:

Reviewed by Adele Peterson.

  • rendering/RenderLayer.cpp: (WebCore::RenderLayer::invalidateScrollbarRect): Corrected the vertical scrollbar rect calculation.
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r41545 r41546  
     12009-03-10  Dan Bernstein  <mitz@apple.com>
     2
     3        Reviewed by Adele Peterson.
     4
     5        - fix https://bugs.webkit.org/show_bug.cgi?id=23975
     6          <rdar://problem/6593610> REGRESSION: Scrollbar arrow not repainted
     7
     8        * rendering/RenderLayer.cpp:
     9        (WebCore::RenderLayer::invalidateScrollbarRect): Corrected the vertical
     10        scrollbar rect calculation.
     11
    1122009-03-09  Simon Fraser  <simon.fraser@apple.com>
    213
  • trunk/WebCore/rendering/RenderLayer.cpp

    r41531 r41546  
    14021402    ASSERT(box);
    14031403    if (scrollbar == m_vBar.get())
    1404         scrollRect.move(box->width() - box->borderRight() - box->width(), box->borderTop());
     1404        scrollRect.move(box->width() - box->borderRight() - scrollbar->width(), box->borderTop());
    14051405    else
    14061406        scrollRect.move(box->borderLeft(), box->height() - box->borderBottom() - scrollbar->height());
Note: See TracChangeset for help on using the changeset viewer.