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

Unified Diff: cc/blink/web_layer_impl.cc

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.h ('k') | cc/layers/layer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blink/web_layer_impl.cc
diff --git a/cc/blink/web_layer_impl.cc b/cc/blink/web_layer_impl.cc
index a65ea63eb27d4f126094cdcbb8a987f66c726ebf..f57fd4725c71777d6f78759eb23d1fe8e242a87e 100644
--- a/cc/blink/web_layer_impl.cc
+++ b/cc/blink/web_layer_impl.cc
@@ -417,14 +417,6 @@ blink::WebLayerStickyPositionConstraint WebLayerImpl::StickyPositionConstraint()
layer_->sticky_position_constraint());
}
-void WebLayerImpl::SetOffsetForStickyPosition(const blink::WebSize& offset) {
- layer_->SetOffsetForStickyPositionFromMainThread(offset);
-}
-
-blink::WebSize WebLayerImpl::OffsetForStickyPosition() const {
- return layer_->offset_for_sticky_position_from_main_thread();
-}
-
void WebLayerImpl::SetScrollClient(blink::WebLayerScrollClient* scroll_client) {
if (scroll_client) {
layer_->set_did_scroll_callback(
« no previous file with comments | « cc/blink/web_layer_impl.h ('k') | cc/layers/layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698