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

Unified Diff: cc/blink/web_layer_impl.h

Issue 2911463002: Unify the calculation of main thread offset of sticky element (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 | « no previous file | cc/blink/web_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blink/web_layer_impl.h
diff --git a/cc/blink/web_layer_impl.h b/cc/blink/web_layer_impl.h
index 2cb948e42914e133a75e0e084e647302d510b125..ae4f6603e862aae815c0631ca7cea46d986b2482 100644
--- a/cc/blink/web_layer_impl.h
+++ b/cc/blink/web_layer_impl.h
@@ -117,6 +117,8 @@ class CC_BLINK_EXPORT WebLayerImpl : public NON_EXPORTED_BASE(blink::WebLayer) {
const blink::WebLayerStickyPositionConstraint& constraint) override;
blink::WebLayerStickyPositionConstraint StickyPositionConstraint()
const override;
+ void SetOffsetForStickyPosition(const blink::WebSize& offset) override;
+ blink::WebSize OffsetForStickyPosition() const override;
void SetScrollClient(blink::WebLayerScrollClient* client) override;
void SetLayerClient(cc::LayerClient* client) override;
const cc::Layer* CcLayer() const override;
« no previous file with comments | « no previous file | cc/blink/web_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698