Changeset 112096 in webkit
- Timestamp:
- Mar 26, 2012 7:54:55 AM (12 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r112093 r112096 1 2012-03-26 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> 2 3 [Qt] Make sure that purged directly composited images are re-created before a layer's sync. 4 https://bugs.webkit.org/show_bug.cgi?id=81771 5 6 Reviewed by Noam Rosenthal. 7 8 This fixes a regression in tst_qquickwebview introduced by r111567. 9 10 * WebProcess/WebCoreSupport/WebGraphicsLayer.cpp: 11 (WebCore::WebGraphicsLayer::syncCompositingStateForThisLayerOnly): 12 (WebCore::WebGraphicsLayer::updateContentBuffers): 13 1 14 2012-03-26 Simon Hausmann <simon.hausmann@nokia.com> 2 15 -
trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebGraphicsLayer.cpp
r111567 r112096 431 431 void WebGraphicsLayer::syncCompositingStateForThisLayerOnly() 432 432 { 433 // The remote image might have been released by purgeBackingStores. 434 if (m_image) { 435 if (!m_layerInfo.imageBackingStoreID) { 436 m_layerInfo.imageBackingStoreID = m_webGraphicsLayerClient->adoptImageBackingStore(m_image.get()); 437 m_layerInfo.imageIsUpdated = true; 438 } 439 } 433 440 434 441 if (m_modified) { … … 575 582 void WebGraphicsLayer::updateContentBuffers() 576 583 { 577 // The remote image might have been released by purgeBackingStores.578 if (m_image) {579 if (!m_layerInfo.imageBackingStoreID) {580 m_layerInfo.imageBackingStoreID = m_webGraphicsLayerClient->adoptImageBackingStore(m_image.get());581 m_layerInfo.imageIsUpdated = true;582 }583 }584 585 584 if (!drawsContent()) { 586 585 m_mainBackingStore.clear();
Note: See TracChangeset
for help on using the changeset viewer.