Changeset 56958 in webkit


Ignore:
Timestamp:
Apr 1, 2010 6:25:03 PM (14 years ago)
Author:
eric@webkit.org
Message:

2010-04-01 Finnur Thorarinsson <finnur.webkit@gmail.com>

Reviewed by Eric Seidel.

[chromium] FindInPage on multi-frame pages wasn't always updating
tickmarks on scrollbars for the subframes. It was calling invalidateRect
on the View and specifying a rect that's in window coordinates, whereas
the invalidateRect expects frame coordinates.

https://bugs.webkit.org/show_bug.cgi?id=36982

  • src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::invalidateArea):
Location:
trunk/WebKit/chromium
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/chromium/ChangeLog

    r56917 r56958  
     12010-04-01  Finnur Thorarinsson  <finnur.webkit@gmail.com>
     2
     3        Reviewed by Eric Seidel.
     4
     5        [chromium] FindInPage on multi-frame pages wasn't always updating
     6        tickmarks on scrollbars for the subframes. It was calling invalidateRect
     7        on the View and specifying a rect that's in window coordinates, whereas
     8        the invalidateRect expects frame coordinates.
     9
     10        https://bugs.webkit.org/show_bug.cgi?id=36982
     11       
     12        * src/WebFrameImpl.cpp:
     13        (WebKit::WebFrameImpl::invalidateArea):
     14
    1152010-04-01  Finnur Thorarinsson  <finnur.webkit@gmail.com>
    216
  • trunk/WebKit/chromium/src/WebFrameImpl.cpp

    r56917 r56958  
    19641964            IntRect contentArea(
    19651965                view->x(), view->y(), view->visibleWidth(), view->visibleHeight());
     1966            IntRect frameRect = view->frameRect();
     1967            contentArea.move(-frameRect.topLeft().x(), -frameRect.topLeft().y());
    19661968            view->invalidateRect(contentArea);
    19671969        }
     
    19731975                ScrollbarTheme::nativeTheme()->scrollbarThickness(),
    19741976                view->visibleHeight());
     1977            IntRect frameRect = view->frameRect();
     1978            scrollBarVert.move(-frameRect.topLeft().x(), -frameRect.topLeft().y());
    19751979            view->invalidateRect(scrollBarVert);
    19761980        }
Note: See TracChangeset for help on using the changeset viewer.