Changeset 139032 in webkit
- Timestamp:
- Jan 7, 2013 10:07:55 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r139030 r139032 1 2013-01-07 Steve Block <steveblock@chromium.org> 2 3 Use explicit constructor to convert from Int/FloatSize to Int/FloatPoint 4 https://bugs.webkit.org/show_bug.cgi?id=106209 5 6 Reviewed by Kentaro Hara. 7 8 Refactoring only, no functional change. 9 10 * rendering/RenderLayerBacking.cpp: 11 (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry): 12 1 13 2013-01-07 Viatcheslav Ostapenko <sl.ostapenko@samsung.com> 2 14 -
trunk/Source/WebCore/rendering/RenderLayerBacking.cpp
r138997 r139032 625 625 IntRect parentClipRect = pixelSnappedIntRect(m_owningLayer->backgroundClipRect(clipRectsContext).rect()); // FIXME: Incorrect for CSS regions. 626 626 ASSERT(parentClipRect != PaintInfo::infiniteRect()); 627 m_ancestorClippingLayer->setPosition(FloatPoint( ) + (parentClipRect.location() - graphicsLayerParentLocation));627 m_ancestorClippingLayer->setPosition(FloatPoint(parentClipRect.location() - graphicsLayerParentLocation)); 628 628 m_ancestorClippingLayer->setSize(parentClipRect.size()); 629 629 … … 635 635 } 636 636 637 m_graphicsLayer->setPosition(FloatPoint( ) + (relativeCompositingBounds.location() - graphicsLayerParentLocation));637 m_graphicsLayer->setPosition(FloatPoint(relativeCompositingBounds.location() - graphicsLayerParentLocation)); 638 638 m_graphicsLayer->setOffsetFromRenderer(localCompositingBounds.location() - IntPoint()); 639 639 … … 653 653 if (GraphicsLayer* clipLayer = clippingLayer()) { 654 654 clippingBox = clipBox(toRenderBox(renderer())); 655 clipLayer->setPosition(FloatPoint( ) + (clippingBox.location() - localCompositingBounds.location()));655 clipLayer->setPosition(FloatPoint(clippingBox.location() - localCompositingBounds.location())); 656 656 clipLayer->setSize(clippingBox.size()); 657 657 clipLayer->setOffsetFromRenderer(clippingBox.location() - IntPoint()); … … 729 729 FloatRect layerBounds = compositedBounds(); 730 730 FloatRect reflectionLayerBounds = reflectionBacking->compositedBounds(); 731 reflectionBacking->graphicsLayer()->setReplicatedLayerPosition(FloatPoint( ) + (layerBounds.location() - reflectionLayerBounds.location()));731 reflectionBacking->graphicsLayer()->setReplicatedLayerPosition(FloatPoint(layerBounds.location() - reflectionLayerBounds.location())); 732 732 } 733 733 … … 738 738 IntSize scrollOffset = m_owningLayer->scrolledContentOffset(); 739 739 740 m_scrollingLayer->setPosition(FloatPoint( ) + (paddingBox.location() - localCompositingBounds.location()));740 m_scrollingLayer->setPosition(FloatPoint(paddingBox.location() - localCompositingBounds.location())); 741 741 742 742 m_scrollingLayer->setSize(paddingBox.size());
Note: See TracChangeset
for help on using the changeset viewer.