Changeset 93571 in webkit
- Timestamp:
- Aug 22, 2011 6:35:48 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r93567 r93571 1 2011-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 1 19 2011-08-22 Alexey Proskuryakov <ap@apple.com> 2 20 -
trunk/Source/WebCore/platform/graphics/chromium/LayerChromium.cpp
r93360 r93571 81 81 , m_targetRenderSurface(0) 82 82 { 83 ASSERT(!LayerRendererChromium::s_inPaintLayerContents);84 83 } 85 84 86 85 LayerChromium::~LayerChromium() 87 86 { 88 ASSERT(!LayerRendererChromium::s_inPaintLayerContents);89 87 // Our parent should be holding a reference to us so there should be no 90 88 // way for us to be destroyed while we still have a parent. -
trunk/Source/WebCore/platform/graphics/chromium/LayerRendererChromium.cpp
r93542 r93571 79 79 static size_t textureMemoryLowLimitBytes = 3 * 1024 * 1024; 80 80 81 #ifndef NDEBUG82 bool LayerRendererChromium::s_inPaintLayerContents = false;83 #endif84 85 81 namespace { 86 82 … … 630 626 } 631 627 632 #ifndef NDEBUG633 s_inPaintLayerContents = true;634 #endif635 628 paintLayerContents(renderSurfaceLayerList); 636 #ifndef NDEBUG637 s_inPaintLayerContents = false;638 #endif639 629 640 630 m_contentsTextureManager->reduceMemoryToLimit(textureMemoryReclaimLimitBytes); -
trunk/Source/WebCore/platform/graphics/chromium/LayerRendererChromium.h
r93424 r93571 156 156 GC3Denum bestTextureFormat(); 157 157 158 #ifndef NDEBUG159 static bool s_inPaintLayerContents;160 #endif161 158 typedef Vector<RefPtr<LayerChromium> > LayerList; 162 159 typedef Vector<RefPtr<CCLayerImpl> > CCLayerList;
Note: See TracChangeset
for help on using the changeset viewer.