Changeset 76962 in webkit


Ignore:
Timestamp:
Jan 28, 2011 11:48:51 AM (13 years ago)
Author:
cmarrin@apple.com
Message:

2011-01-27 Chris Marrin <cmarrin@apple.com>

Reviewed by Anders Carlsson.

WebKit2: Page flashes just before accelerated compositing animation
https://bugs.webkit.org/show_bug.cgi?id=53274

When switching out of compositing mode, the new ChunkedUpdateDrawingAreaProxy
is getting created with the current page size. When the setSize() call is
subsequently made, the sizeDidChange() call is not made (which does the initial
render of the page) because the old size and new size are the same. The solution
is to skip the setting of the size in the ctor and let it go through a size
change sequence.

  • UIProcess/DrawingAreaProxy.cpp: (WebKit::DrawingAreaProxy::DrawingAreaProxy):
Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r76936 r76962  
     12011-01-27  Chris Marrin  <cmarrin@apple.com>
     2
     3        Reviewed by Anders Carlsson.
     4
     5        WebKit2: Page flashes just before accelerated compositing animation
     6        https://bugs.webkit.org/show_bug.cgi?id=53274
     7
     8        When switching out of compositing mode, the new ChunkedUpdateDrawingAreaProxy
     9        is getting created with the current page size. When the setSize() call is
     10        subsequently made, the sizeDidChange() call is not made (which does the initial
     11        render of the page) because the old size and new size are the same. The solution
     12        is to skip the setting of the size in the ctor and let it go through a size
     13        change sequence.
     14
     15        * UIProcess/DrawingAreaProxy.cpp:
     16        (WebKit::DrawingAreaProxy::DrawingAreaProxy):
     17
    1182011-01-28  Alejandro G. Castro  <alex@igalia.com>
    219
  • trunk/Source/WebKit2/UIProcess/DrawingAreaProxy.cpp

    r76916 r76962  
    3636    : m_info(type, nextIdentifier())
    3737    , m_webPageProxy(webPageProxy)
    38     , m_size(webPageProxy->viewSize())
    3938{
    4039}
Note: See TracChangeset for help on using the changeset viewer.