Changeset 102512 in webkit


Ignore:
Timestamp:
Dec 9, 2011 6:35:35 PM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[chromium] Prevent ASSERT in legitimate out-of-memory case.
https://bugs.webkit.org/show_bug.cgi?id=74215

Patch by Eric Penner <epenner@google.com> on 2011-12-09
Reviewed by James Robinson.

  • platform/graphics/chromium/TiledLayerChromium.cpp:

(WebCore::TiledLayerChromium::updateCompositorResources):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r102511 r102512  
     12011-12-09  Eric Penner  <epenner@google.com>
     2
     3        [chromium] Prevent ASSERT in legitimate out-of-memory case.
     4        https://bugs.webkit.org/show_bug.cgi?id=74215
     5
     6        Reviewed by James Robinson.
     7
     8        * platform/graphics/chromium/TiledLayerChromium.cpp:
     9        (WebCore::TiledLayerChromium::updateCompositorResources):
     10
    1112011-12-09   Arko Saha  <arko@motorola.com>
    212
  • trunk/Source/WebCore/platform/graphics/chromium/TiledLayerChromium.cpp

    r102180 r102512  
    177177    // If this assert is hit, it means that paintContentsIfDirty hasn't been
    178178    // called on this layer. Any layer that is updated should be painted first.
    179     ASSERT(m_tiler);
     179    ASSERT(m_skipsDraw || m_tiler);
    180180
    181181    // Painting could cause compositing to get turned off, which may cause the tiler to become invalidated mid-update.
Note: See TracChangeset for help on using the changeset viewer.