Changeset 103760 in webkit
- Timestamp:
- Dec 28, 2011 4:04:28 AM (12 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r103755 r103760 1 2011-12-28 Balazs Kelemen <kbalazs@webkit.org> 2 3 [Qt][WK2] Crash in ~WebGraphicsLayer when running fast/multicol/pagination-* tests 4 https://bugs.webkit.org/show_bug.cgi?id=75000 5 6 Reviewed by Noam Rosenthal. 7 8 Don't adopt a tile client that belongs to a parent layer. 9 This is unnecessary and also unsafe because we can live 10 through that client. 11 12 * WebProcess/WebCoreSupport/WebGraphicsLayer.cpp: 13 (WebCore::WebGraphicsLayer::syncCompositingStateForThisLayerOnly): 14 1 15 2011-12-27 Dan Bernstein <mitz@apple.com> 2 16 -
trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebGraphicsLayer.cpp
r102457 r103760 402 402 void WebGraphicsLayer::syncCompositingStateForThisLayerOnly() 403 403 { 404 if (!m_layerTreeTileClient)405 m_layerTreeTileClient = layerTreeTileClient();406 404 updateContentBuffers(); 407 405 … … 434 432 m_layerInfo.children.append(toWebLayerID(children()[i])); 435 433 434 WebLayerTreeTileClient* tileClient = layerTreeTileClient(); 435 ASSERT(tileClient); 436 436 if (m_layerInfo.imageIsUpdated && m_image && !m_layerInfo.imageBackingStoreID) 437 m_layerInfo.imageBackingStoreID = layerTreeTileClient()->adoptImageBackingStore(m_image.get());438 439 m_layerTreeTileClient->didSyncCompositingStateForLayer(m_layerInfo);437 m_layerInfo.imageBackingStoreID = tileClient->adoptImageBackingStore(m_image.get()); 438 439 tileClient->didSyncCompositingStateForLayer(m_layerInfo); 440 440 m_modified = false; 441 441 m_layerInfo.imageIsUpdated = false;
Note: See TracChangeset
for help on using the changeset viewer.