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

Unified Diff: cc/layers/layer.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/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 5cb2a252a61b561738cb97a92fb9a31dd166f8f6..64540492fc8c5c561f5b61c1e3a0eb185b8189fe 100644
--- a/cc/layers/layer.h
+++ b/cc/layers/layer.h
@@ -253,9 +253,6 @@ class CC_EXPORT Layer : public base::RefCounted<Layer> {
}
void SetScrollOffset(const gfx::ScrollOffset& scroll_offset);
- void SetScrollCompensationAdjustment(
- const gfx::Vector2dF& scroll_compensation_adjustment);
- gfx::Vector2dF ScrollCompensationAdjustment() const;
gfx::ScrollOffset scroll_offset() const { return scroll_offset_; }
void SetScrollOffsetFromImplSide(const gfx::ScrollOffset& scroll_offset);
@@ -653,7 +650,6 @@ class CC_EXPORT Layer : public base::RefCounted<Layer> {
gfx::Size bounds_;
gfx::ScrollOffset scroll_offset_;
- gfx::Vector2dF scroll_compensation_adjustment_;
// This variable indicates which ancestor layer (if any) whose size,
// transformed relative to this layer, defines the maximum scroll offset for
// this layer.
« 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