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 632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
643 | 643 |
644 updateMaskLayerGeometry(); | 644 updateMaskLayerGeometry(); |
645 updateTransformGeometry(snappedOffsetFromCompositedAncestor, relativeComposi
tingBounds); | 645 updateTransformGeometry(snappedOffsetFromCompositedAncestor, relativeComposi
tingBounds); |
646 updateForegroundLayerGeometry(contentsSize, clippingBox); | 646 updateForegroundLayerGeometry(contentsSize, clippingBox); |
647 updateBackgroundLayerGeometry(contentsSize); | 647 updateBackgroundLayerGeometry(contentsSize); |
648 updateReflectionLayerGeometry(); | 648 updateReflectionLayerGeometry(); |
649 updateScrollingLayerGeometry(localCompositingBounds); | 649 updateScrollingLayerGeometry(localCompositingBounds); |
650 updateChildClippingMaskLayerGeometry(); | 650 updateChildClippingMaskLayerGeometry(); |
651 | 651 |
652 if (m_owningLayer.scrollableArea() && m_owningLayer.scrollableArea()->scroll
sOverflow()) | 652 if (m_owningLayer.scrollableArea() && m_owningLayer.scrollableArea()->scroll
sOverflow()) |
653 m_owningLayer.scrollableArea()->positionOverflowControls(); | 653 m_owningLayer.scrollableArea()->positionOverflowControls(IntSize()); |
654 | 654 |
655 if (RuntimeEnabledFeatures::cssCompositingEnabled()) { | 655 if (RuntimeEnabledFeatures::cssCompositingEnabled()) { |
656 updateLayerBlendMode(renderer()->style()); | 656 updateLayerBlendMode(renderer()->style()); |
657 updateIsRootForIsolatedGroup(); | 657 updateIsRootForIsolatedGroup(); |
658 } | 658 } |
659 | 659 |
660 updateContentsRect(); | 660 updateContentsRect(); |
661 updateBackgroundColor(); | 661 updateBackgroundColor(); |
662 updateDrawsContent(); | 662 updateDrawsContent(); |
663 updateContentsOpaque(); | 663 updateContentsOpaque(); |
(...skipping 1548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2212 } else if (graphicsLayer == m_scrollingContentsLayer.get()) { | 2212 } else if (graphicsLayer == m_scrollingContentsLayer.get()) { |
2213 name = "Scrolling Contents Layer"; | 2213 name = "Scrolling Contents Layer"; |
2214 } else { | 2214 } else { |
2215 ASSERT_NOT_REACHED(); | 2215 ASSERT_NOT_REACHED(); |
2216 } | 2216 } |
2217 | 2217 |
2218 return name; | 2218 return name; |
2219 } | 2219 } |
2220 | 2220 |
2221 } // namespace WebCore | 2221 } // namespace WebCore |
OLD | NEW |