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

Unified Diff: cc/layers/layer.cc

Issue 210543002: Removed pinch viewport scroll offset distribution (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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/cc_tests.gyp ('k') | cc/trees/layer_tree_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer.cc
diff --git a/cc/layers/layer.cc b/cc/layers/layer.cc
index d016571e9094b6ea052661a4dbcee33e80a4d6c5..44c71e5f409e06c38d28eebf749a94c1ec08a65c 100644
--- a/cc/layers/layer.cc
+++ b/cc/layers/layer.cc
@@ -674,11 +674,6 @@ void Layer::RemoveClipChild(Layer* child) {
void Layer::SetScrollOffset(gfx::Vector2d scroll_offset) {
DCHECK(IsPropertyChangeAllowed());
- if (layer_tree_host()) {
- scroll_offset = layer_tree_host()->DistributeScrollOffsetToViewports(
- scroll_offset, this);
- }
-
if (scroll_offset_ == scroll_offset)
return;
scroll_offset_ = scroll_offset;
« no previous file with comments | « cc/cc_tests.gyp ('k') | cc/trees/layer_tree_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698