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

Unified Diff: Source/core/rendering/compositing/CompositedLayerMapping.cpp

Issue 358913003: Get rid of one-off code in ScrollingCoordinator to handle graphics layer offsets. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/rendering/RenderLayer.cpp ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/compositing/CompositedLayerMapping.cpp
diff --git a/Source/core/rendering/compositing/CompositedLayerMapping.cpp b/Source/core/rendering/compositing/CompositedLayerMapping.cpp
index 4ba28f57c0d9d02067112deb5889b31d1e3167e5..d88f31f3a18192f1979ad119f444cfa1b9e43b8d 100644
--- a/Source/core/rendering/compositing/CompositedLayerMapping.cpp
+++ b/Source/core/rendering/compositing/CompositedLayerMapping.cpp
@@ -604,10 +604,6 @@ void CompositedLayerMapping::updateSquashingLayerGeometry(const LayoutPoint& off
layers[i].offsetFromRendererSet = true;
layers[i].renderLayer->setSubpixelAccumulation(subpixelAccumulation);
-
- // FIXME: find a better design to avoid this redundant value - most likely it will make
- // sense to move the paint task info into RenderLayer's m_compositingProperties.
- layers[i].renderLayer->setOffsetFromSquashingLayerOrigin(layers[i].offsetFromRenderer);
}
squashingLayer->setPosition(squashLayerBounds.location());
« no previous file with comments | « Source/core/rendering/RenderLayer.cpp ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698