Changeset 152132 in webkit
- Timestamp:
- Jun 27, 2013 3:40:32 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r152122 r152132 1 2013-06-27 Andrew Lo <anlo@blackberry.com> 2 3 [BlackBerry] Unnecessary root layer commits occur during html5 video playback 4 https://bugs.webkit.org/show_bug.cgi?id=118147 5 6 Reviewed by Rob Buis. 7 Internally reviewed by Arvid Nilsson, John Griggs. 8 9 Only request layer commits when layer properties change in 10 GraphicsLayerBlackBerry::updateContentsRect and 11 GraphicsLayerBlackBerry::setContentsToMedia. 12 JIRA112749. 13 14 * platform/graphics/blackberry/GraphicsLayerBlackBerry.cpp: 15 (WebCore::GraphicsLayerBlackBerry::setContentsToMedia): 16 (WebCore::GraphicsLayerBlackBerry::updateContentsRect): 17 1 18 2013-06-27 Bem Jones-Bey <bjonesbe@adobe.com> 2 19 -
trunk/Source/WebCore/platform/graphics/blackberry/GraphicsLayerBlackBerry.cpp
r149824 r152132 570 570 childrenChanged = true; 571 571 } 572 layer->setOwner(this); 573 layer->setNeedsDisplay(); 572 573 if (layer->owner() != this) { 574 layer->setOwner(this); 575 layer->setNeedsDisplay(); 576 } 574 577 updateContentsRect(); 575 578 } else { … … 855 858 return; 856 859 857 m_contentsLayer->setPosition(m_contentsRect.location()); 858 m_contentsLayer->setBounds(m_contentsRect.size()); 860 if (m_contentsLayer->position() != m_contentsRect.location()) 861 m_contentsLayer->setPosition(m_contentsRect.location()); 862 863 if (m_contentsLayer->bounds() != m_contentsRect.size()) 864 m_contentsLayer->setBounds(m_contentsRect.size()); 859 865 } 860 866
Note: See TracChangeset
for help on using the changeset viewer.