Changeset 140128 in webkit


Ignore:
Timestamp:
Jan 18, 2013 4:50:17 AM (11 years ago)
Author:
commit-queue@webkit.org
Message:

[BlackBerry] Assert failing in RenderQueue::renderScrollZoomJobs
https://bugs.webkit.org/show_bug.cgi?id=107215

Patch by Andrew Lo <anlo@rim.com> on 2013-01-18
Reviewed by Rob Buis.
Internally reviewed by Jakob Petsovits.

Internal PR276660
Render jobs should not be performed if the backing store is inactive.

This occured when the browser was invoked, causing a web page to be made
visible before the surface pool was resumed.

  • Api/BackingStore.cpp:

(BlackBerry::WebKit::BackingStorePrivate::shouldPerformRenderJobs):

Location:
trunk/Source/WebKit/blackberry
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/blackberry/Api/BackingStore.cpp

    r138956 r140128  
    543543bool BackingStorePrivate::shouldPerformRenderJobs() const
    544544{
    545     return (m_webPage->isVisible() || shouldDirectRenderingToWindow()) && !m_suspendRenderJobs && !m_suspendBackingStoreUpdates && !m_renderQueue->isEmpty(!m_suspendRegularRenderJobs);
     545    return (isActive() || shouldDirectRenderingToWindow()) && !m_suspendRenderJobs && !m_suspendBackingStoreUpdates && !m_renderQueue->isEmpty(!m_suspendRegularRenderJobs);
    546546}
    547547
  • trunk/Source/WebKit/blackberry/ChangeLog

    r140046 r140128  
     12013-01-18  Andrew Lo  <anlo@rim.com>
     2
     3        [BlackBerry] Assert failing in RenderQueue::renderScrollZoomJobs
     4        https://bugs.webkit.org/show_bug.cgi?id=107215
     5
     6        Reviewed by Rob Buis.
     7        Internally reviewed by Jakob Petsovits.
     8
     9        Internal PR276660
     10        Render jobs should not be performed if the backing store is inactive.
     11
     12        This occured when the browser was invoked, causing a web page to be made
     13        visible before the surface pool was resumed.
     14
     15        * Api/BackingStore.cpp:
     16        (BlackBerry::WebKit::BackingStorePrivate::shouldPerformRenderJobs):
     17
    1182013-01-17  Yong Li  <yoli@rim.com>
    219
Note: See TracChangeset for help on using the changeset viewer.