[Webkit-unassigned] [Bug 100718] Invalidate non-composited content host when page scale factor changes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 19 19:30:02 PST 2012


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





--- Comment #26 from Tien-Ren Chen <trchen at chromium.org>  2012-11-19 19:32:00 PST ---
(In reply to comment #24)
> (From update of attachment 175105 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=175105&action=review
> 
> > Source/WebCore/page/Page.cpp:681
> > +    mainFrame()->view()->repaintContentRectangle(IntRect(LayoutRect::infiniteRect()), false);
> 
> what 'bout just calling mainFrame()->view()->invalidateRect(..); ? I realize this doesn't go through the FrameView repaint rect tracking code today, but that seems somewhat easier to fix when we add tests.

Sounds good. Actually I considered invalidateRect() too but found it doesn't go through repaint tracking. If the you're planning to extend repaint tracking to invalidateRect(), I think it is exactly the function we want to use.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list