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

Unified Diff: cc/layers/layer.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
« no previous file with comments | « cc/blink/web_layer_impl.cc ('k') | cc/layers/layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer.h
diff --git a/cc/layers/layer.h b/cc/layers/layer.h
index 2d92c4781692b4b6003267715d5442e263c6e223..a92218daed37beb9b5c0214875fd97ddde19c00a 100644
--- a/cc/layers/layer.h
+++ b/cc/layers/layer.h
@@ -174,11 +174,6 @@ class CC_EXPORT Layer : public base::RefCounted<Layer> {
return inputs_.sticky_position_constraint;
}
- void SetOffsetForStickyPositionFromMainThread(const gfx::Size& offset);
- const gfx::Size offset_for_sticky_position_from_main_thread() const {
- return inputs_.offset_for_sticky_position_from_main_thread;
- }
-
void SetTransform(const gfx::Transform& transform);
const gfx::Transform& transform() const { return inputs_.transform; }
@@ -592,7 +587,6 @@ class CC_EXPORT Layer : public base::RefCounted<Layer> {
LayerPositionConstraint position_constraint;
LayerStickyPositionConstraint sticky_position_constraint;
- gfx::Size offset_for_sticky_position_from_main_thread;
ElementId element_id;
« no previous file with comments | « cc/blink/web_layer_impl.cc ('k') | cc/layers/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698