Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(111)

Side by Side Diff: Source/core/rendering/compositing/CompositedLayerMapping.cpp

Issue 335743002: updateLayerPositionsAfterLayout shouldn't have a RenderGeometryMap (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix typo Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderLayerScrollableArea.cpp ('k') | Source/core/rendering/compositing/GraphicsLayerUpdater.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698