Changeset 93571 in webkit


Ignore:
Timestamp:
Aug 22, 2011 6:35:48 PM (13 years ago)
Author:
enne@google.com
Message:

[chromium] Remove compositing assertions about creating layers when painting
https://bugs.webkit.org/show_bug.cgi?id=66731

Reviewed by James Robinson.

The trigger for this assertion would cause a real rendering issue, but
it is both intermittent and in the wrong place in the codebase to
catch the source of the problem.

  • platform/graphics/chromium/LayerChromium.cpp:

(WebCore::LayerChromium::LayerChromium):
(WebCore::LayerChromium::~LayerChromium):

  • platform/graphics/chromium/LayerRendererChromium.cpp:

(WebCore::LayerRendererChromium::updateLayers):

  • platform/graphics/chromium/LayerRendererChromium.h:
Location:
trunk/Source/WebCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r93567 r93571  
     12011-08-22  Adrienne Walker  <enne@google.com>
     2
     3        [chromium] Remove compositing assertions about creating layers when painting
     4        https://bugs.webkit.org/show_bug.cgi?id=66731
     5
     6        Reviewed by James Robinson.
     7
     8        The trigger for this assertion would cause a real rendering issue, but
     9        it is both intermittent and in the wrong place in the codebase to
     10        catch the source of the problem.
     11
     12        * platform/graphics/chromium/LayerChromium.cpp:
     13        (WebCore::LayerChromium::LayerChromium):
     14        (WebCore::LayerChromium::~LayerChromium):
     15        * platform/graphics/chromium/LayerRendererChromium.cpp:
     16        (WebCore::LayerRendererChromium::updateLayers):
     17        * platform/graphics/chromium/LayerRendererChromium.h:
     18
    1192011-08-22  Alexey Proskuryakov  <ap@apple.com>
    220
  • trunk/Source/WebCore/platform/graphics/chromium/LayerChromium.cpp

    r93360 r93571  
    8181    , m_targetRenderSurface(0)
    8282{
    83     ASSERT(!LayerRendererChromium::s_inPaintLayerContents);
    8483}
    8584
    8685LayerChromium::~LayerChromium()
    8786{
    88     ASSERT(!LayerRendererChromium::s_inPaintLayerContents);
    8987    // Our parent should be holding a reference to us so there should be no
    9088    // way for us to be destroyed while we still have a parent.
  • trunk/Source/WebCore/platform/graphics/chromium/LayerRendererChromium.cpp

    r93542 r93571  
    7979static size_t textureMemoryLowLimitBytes = 3 * 1024 * 1024;
    8080
    81 #ifndef NDEBUG
    82 bool LayerRendererChromium::s_inPaintLayerContents = false;
    83 #endif
    84 
    8581namespace {
    8682
     
    630626    }
    631627
    632 #ifndef NDEBUG
    633     s_inPaintLayerContents = true;
    634 #endif
    635628    paintLayerContents(renderSurfaceLayerList);
    636 #ifndef NDEBUG
    637     s_inPaintLayerContents = false;
    638 #endif
    639629
    640630    m_contentsTextureManager->reduceMemoryToLimit(textureMemoryReclaimLimitBytes);
  • trunk/Source/WebCore/platform/graphics/chromium/LayerRendererChromium.h

    r93424 r93571  
    156156    GC3Denum bestTextureFormat();
    157157
    158 #ifndef NDEBUG
    159     static bool s_inPaintLayerContents;
    160 #endif
    161158    typedef Vector<RefPtr<LayerChromium> > LayerList;
    162159    typedef Vector<RefPtr<CCLayerImpl> > CCLayerList;
Note: See TracChangeset for help on using the changeset viewer.