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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp

Issue 2833233002: [blink] Perspective layer should be considered fixed-pos container layer (Closed)
Patch Set: Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/transforms/perspective-fixed-pos-descendant-expected.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
index 445b2ad8364fdaf98ac5f7ef66b7d2379952c3da..b22e98f16b8fc8b915b48717927d01b83ae3853c 100644
--- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
@@ -1613,7 +1613,9 @@ void CompositedLayerMapping::RegisterScrollingLayers() {
owning_layer_.GetLayoutObject().CanContainFixedPositionObjects() &&
!owning_layer_.IsRootLayer();
scrolling_coordinator->SetLayerIsContainerForFixedPositionLayers(
- graphics_layer_.get(), is_container);
+ child_transform_layer_ ? child_transform_layer_.get()
chrishtr 2017/04/24 15:44:22 Add a comment explaining.
+ : graphics_layer_.get(),
+ is_container);
}
void CompositedLayerMapping::UpdateInternalHierarchy() {
« no previous file with comments | « third_party/WebKit/LayoutTests/transforms/perspective-fixed-pos-descendant-expected.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698