OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009, 2010, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009, 2010, 2011 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 824 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
835 0.f); | 835 0.f); |
836 m_graphicsLayer->setTransformOrigin(compositedTransformOrigin); | 836 m_graphicsLayer->setTransformOrigin(compositedTransformOrigin); |
837 } | 837 } |
838 } | 838 } |
839 | 839 |
840 void CompositedLayerMapping::updateReflectionLayerGeometry(Vector<RenderLayer*>&
layersNeedingPaintInvalidation) | 840 void CompositedLayerMapping::updateReflectionLayerGeometry(Vector<RenderLayer*>&
layersNeedingPaintInvalidation) |
841 { | 841 { |
842 if (!m_owningLayer.reflectionInfo() || !m_owningLayer.reflectionInfo()->refl
ectionLayer()->hasCompositedLayerMapping()) | 842 if (!m_owningLayer.reflectionInfo() || !m_owningLayer.reflectionInfo()->refl
ectionLayer()->hasCompositedLayerMapping()) |
843 return; | 843 return; |
844 | 844 |
845 CompositedLayerMappingPtr reflectionCompositedLayerMapping = m_owningLayer.r
eflectionInfo()->reflectionLayer()->compositedLayerMapping(); | 845 CompositedLayerMapping* reflectionCompositedLayerMapping = m_owningLayer.ref
lectionInfo()->reflectionLayer()->compositedLayerMapping(); |
846 reflectionCompositedLayerMapping->updateGraphicsLayerGeometry(&m_owningLayer
, &m_owningLayer, layersNeedingPaintInvalidation); | 846 reflectionCompositedLayerMapping->updateGraphicsLayerGeometry(&m_owningLayer
, &m_owningLayer, layersNeedingPaintInvalidation); |
847 } | 847 } |
848 | 848 |
849 void CompositedLayerMapping::updateScrollingLayerGeometry(const IntRect& localCo
mpositingBounds) | 849 void CompositedLayerMapping::updateScrollingLayerGeometry(const IntRect& localCo
mpositingBounds) |
850 { | 850 { |
851 if (!m_scrollingLayer) | 851 if (!m_scrollingLayer) |
852 return; | 852 return; |
853 | 853 |
854 ASSERT(m_scrollingContentsLayer); | 854 ASSERT(m_scrollingContentsLayer); |
855 RenderBox* renderBox = toRenderBox(renderer()); | 855 RenderBox* renderBox = toRenderBox(renderer()); |
(...skipping 1431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2287 } else if (graphicsLayer == m_scrollingBlockSelectionLayer.get()) { | 2287 } else if (graphicsLayer == m_scrollingBlockSelectionLayer.get()) { |
2288 name = "Scrolling Block Selection Layer"; | 2288 name = "Scrolling Block Selection Layer"; |
2289 } else { | 2289 } else { |
2290 ASSERT_NOT_REACHED(); | 2290 ASSERT_NOT_REACHED(); |
2291 } | 2291 } |
2292 | 2292 |
2293 return name; | 2293 return name; |
2294 } | 2294 } |
2295 | 2295 |
2296 } // namespace blink | 2296 } // namespace blink |
OLD | NEW |