Commit 357ba6b5 authored by bdash's avatar bdash
Browse files

2007-05-19 Mitz Pettel <mitz@webkit.org>

        Reviewed by Dave Hyatt.

        - fix http://bugs.webkit.org/show_bug.cgi?id=13783
          REGRESSION (r21120): Frame resizers not repainted properly when dragged

        * rendering/RenderFrameSet.cpp:
        (WebCore::RenderFrameSet::layout):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21603 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 7746786d
2007-05-19 Mitz Pettel <mitz@webkit.org>
Reviewed by Dave Hyatt.
- fix http://bugs.webkit.org/show_bug.cgi?id=13783
REGRESSION (r21120): Frame resizers not repainted properly when dragged
* rendering/RenderFrameSet.cpp:
(WebCore::RenderFrameSet::layout):
2007-05-19 Mitz Pettel <mitz@webkit.org>
 
Reviewed by Darin.
......@@ -455,6 +455,11 @@ void RenderFrameSet::layout()
{
ASSERT(needsLayout());
bool doFullRepaint = selfNeedsLayout() && checkForRepaintDuringLayout();
IntRect oldBounds;
if (doFullRepaint)
oldBounds = absoluteClippedOverflowRect();
if (!parent()->isFrameSet()) {
FrameView* v = view()->frameView();
m_width = v->visibleWidth();
......@@ -479,6 +484,13 @@ void RenderFrameSet::layout()
computeEdgeInfo();
if (doFullRepaint) {
view()->repaintViewRectangle(oldBounds);
IntRect newBounds = absoluteClippedOverflowRect();
if (newBounds != oldBounds)
view()->repaintViewRectangle(newBounds);
}
setNeedsLayout(false);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment