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

Unified Diff: cc/layers/layer_impl.h

Issue 1385123003: Delete scrollCompensationAdjustment. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase again Created 4 years, 9 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/layers/layer.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_impl.h
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
index 1bc1bc683fe06e3819bd5c18f3fa11d06dfcc687..b9f8c7723ee3fd8c1f538238d6088a744b763bdd 100644
--- a/cc/layers/layer_impl.h
+++ b/cc/layers/layer_impl.h
@@ -431,12 +431,6 @@ class CC_EXPORT LayerImpl {
gfx::ScrollOffset MaxScrollOffset() const;
gfx::ScrollOffset ClampScrollOffsetToLimits(gfx::ScrollOffset offset) const;
gfx::Vector2dF ClampScrollToMaxScrollOffset();
- void SetScrollCompensationAdjustment(const gfx::Vector2dF& scroll_offset) {
- scroll_compensation_adjustment_ = scroll_offset;
- }
- gfx::Vector2dF ScrollCompensationAdjustment() const {
- return scroll_compensation_adjustment_;
- }
// Returns the delta of the scroll that was outside of the bounds of the
// initial scroll
@@ -735,8 +729,6 @@ class CC_EXPORT LayerImpl {
LayerPositionConstraint position_constraint_;
- gfx::Vector2dF scroll_compensation_adjustment_;
-
int num_descendants_that_draw_content_;
gfx::Rect clip_rect_in_target_space_;
« no previous file with comments | « cc/layers/layer.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698