Bug 39859 - ScrollView::setFrameRect should not call contentsResized when there is a fixed layout size
Summary: ScrollView::setFrameRect should not call contentsResized when there is a fixe...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-27 18:55 PDT by Adam Treat
Modified: 2010-05-28 11:52 PDT (History)
3 users (show)

See Also:


Attachments
Patch (1.13 KB, patch)
2010-05-28 10:47 PDT, Adam Treat
dbates: review+
dbates: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Treat 2010-05-27 18:55:26 PDT
Layout is not dependent upon the frameRect when using fixed layout size therefore we should not cause a layout with this
Comment 1 Adam Treat 2010-05-28 10:47:14 PDT
Created attachment 57343 [details]
Patch
Comment 2 Daniel Bates 2010-05-28 10:53:22 PDT
Comment on attachment 57343 [details]
Patch

> diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
> index a63213f..7c99717 100644
> --- a/WebCore/ChangeLog
> +++ b/WebCore/ChangeLog
> @@ -1,3 +1,15 @@
> +2010-05-28  Adam Treat  <atreat@rim.com>
> +
> +        Reviewed by Daniel Bates.
> +
> +        Bug #293 and https://bugs.webkit.org/show_bug.cgi?id=39859
> +
> +        Layout is not dependent upon ScrollView::frameRect when useFixedLayout
> +        is true.  No reason to set the needs layout flag in this case.
> +
> +        * platform/ScrollView.cpp:
> +        (WebCore::ScrollView::wheelEvent):

This change log disagrees with both the patch and the description since ScrollView::wheelEven was not modified.

Looks sane to me.

r=me.
Comment 3 Adam Treat 2010-05-28 10:56:32 PDT
Landed with r60367
Comment 5 Adam Barth 2010-05-28 11:52:50 PDT
cfleizach fixed the break in http://trac.webkit.org/changeset/60372