summaryrefslogtreecommitdiffstats
path: root/cc/trees/layer_tree_host_common.h
diff options
context:
space:
mode:
authormiletus <miletus@chromium.org>2015-02-04 12:44:49 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-04 20:46:24 +0000
commit7a2217569bc1a7596ad6671513249e241b3491c3 (patch)
tree15fef4d70a7f84a910d01b032396027720fff1b1 /cc/trees/layer_tree_host_common.h
parentf813693baf707fd30d0e25eebaf0da6c08f74acc (diff)
downloadchromium_src-7a2217569bc1a7596ad6671513249e241b3491c3.zip
chromium_src-7a2217569bc1a7596ad6671513249e241b3491c3.tar.gz
chromium_src-7a2217569bc1a7596ad6671513249e241b3491c3.tar.bz2
Remove scroll_delta flooring hack
Now that fractional scroll offset can pass through cc main thread and Blink, we can remove the scroll_delta flooring hack and send the full fractional scroll_delta from impl to main. Note that this will break the old pinch viewport code path ( which is to be removed soon) since it still only expects integer scroll offset. BUG=414283 Review URL: https://codereview.chromium.org/870363005 Cr-Commit-Position: refs/heads/master@{#314626}
Diffstat (limited to 'cc/trees/layer_tree_host_common.h')
-rw-r--r--cc/trees/layer_tree_host_common.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/cc/trees/layer_tree_host_common.h b/cc/trees/layer_tree_host_common.h
index 0955b9a..86666176 100644
--- a/cc/trees/layer_tree_host_common.h
+++ b/cc/trees/layer_tree_host_common.h
@@ -151,9 +151,7 @@ class CC_EXPORT LayerTreeHostCommon {
struct ScrollUpdateInfo {
int layer_id;
- // TODO(miletus) : Use ScrollOffset once LayerTreeHost/Blink fully supports
- // franctional scroll offset.
- gfx::Vector2d scroll_delta;
+ gfx::Vector2dF scroll_delta;
};
};