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

Unified Diff: cc/trees/transform_node.h

Issue 2929873002: Shifting layer position for sticky element to avoid passing unnessary variable to cc (Closed)
Patch Set: Bug fix Created 3 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
Index: cc/trees/transform_node.h
diff --git a/cc/trees/transform_node.h b/cc/trees/transform_node.h
index 3e8fd614edb5a47b867c1b18b18510003a655595..2abfb1cc00480b7eb14ed6dab868d15a165a4096 100644
--- a/cc/trees/transform_node.h
+++ b/cc/trees/transform_node.h
@@ -55,11 +55,6 @@ struct CC_EXPORT TransformNode {
// transform node. -1 indicates there are no sticky position constraints.
int sticky_position_constraint_id;
- // This stores the offset applied to the sticky element from main
- // thread. It's used to calculate the additional sticky position offset from
- // cc.
- gfx::Vector2dF offset_for_sticky_position_from_main_thread;
-
// This is the node with respect to which source_offset is defined. This will
// not be needed once layerization moves to cc, but is needed in order to
// efficiently update the transform tree for changes to position in the layer
« no previous file with comments | « cc/trees/property_tree_builder.cc ('k') | third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698