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

Unified Diff: cc/layers/layer_unittest.cc

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_impl.cc ('k') | cc/proto/layer.proto » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_unittest.cc
diff --git a/cc/layers/layer_unittest.cc b/cc/layers/layer_unittest.cc
index 59a2b5c72cdb39bdcfac99a52a456b6fe31255c7..73aebe9fdc14c334b9b8ab80c67bd26eae6bca73 100644
--- a/cc/layers/layer_unittest.cc
+++ b/cc/layers/layer_unittest.cc
@@ -180,8 +180,6 @@ class LayerSerializationTest : public testing::Test {
dest->user_scrollable_horizontal_);
EXPECT_EQ(src->user_scrollable_vertical_, dest->user_scrollable_vertical_);
EXPECT_EQ(src->scroll_offset_, dest->scroll_offset_);
- EXPECT_EQ(src->scroll_compensation_adjustment_,
- dest->scroll_compensation_adjustment_);
EXPECT_EQ(update_rect, dest->update_rect_);
if (src->scroll_parent_) {
@@ -287,7 +285,6 @@ class LayerSerializationTest : public testing::Test {
layer->user_scrollable_horizontal_ = false;
layer->user_scrollable_vertical_ = true;
layer->scroll_offset_ = gfx::ScrollOffset(3, 14);
- layer->scroll_compensation_adjustment_ = gfx::Vector2dF(6.28f, 3.14f);
layer->update_rect_ = gfx::Rect(14, 15);
VerifyBaseLayerPropertiesSerializationAndDeserialization(layer.get());
@@ -337,7 +334,6 @@ class LayerSerializationTest : public testing::Test {
layer->user_scrollable_horizontal_ = !layer->user_scrollable_horizontal_;
layer->user_scrollable_vertical_ = !layer->user_scrollable_vertical_;
layer->scroll_offset_ = gfx::ScrollOffset(3, 14);
- layer->scroll_compensation_adjustment_ = gfx::Vector2dF(6.28f, 3.14f);
layer->update_rect_ = gfx::Rect(14, 15);
VerifyBaseLayerPropertiesSerializationAndDeserialization(layer.get());
« no previous file with comments | « cc/layers/layer_impl.cc ('k') | cc/proto/layer.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698