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

Unified Diff: cc/trees/layer_tree_impl_unittest.cc

Issue 2691583003: Removed fields from Selection classes (Closed)
Patch Set: Forgot to remove fields from test Created 3 years, 10 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/trees/layer_tree_impl.cc ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_impl_unittest.cc
diff --git a/cc/trees/layer_tree_impl_unittest.cc b/cc/trees/layer_tree_impl_unittest.cc
index bdf7c69867f41ea41b350713230387d8c19937ae..0b13432bd1d03a77264d3fb14b318534fafffdbb 100644
--- a/cc/trees/layer_tree_impl_unittest.cc
+++ b/cc/trees/layer_tree_impl_unittest.cc
@@ -1934,9 +1934,6 @@ TEST_F(LayerTreeImplTest, SelectionBoundsForSingleLayer) {
EXPECT_EQ(gfx::PointF(input.end.edge_bottom), output.end.edge_bottom());
EXPECT_EQ(gfx::PointF(input.end.edge_top), output.end.edge_top());
EXPECT_TRUE(output.end.visible());
- EXPECT_EQ(input.is_editable, output.is_editable);
- EXPECT_EQ(input.is_empty_text_form_control,
- output.is_empty_text_form_control);
// Insertion bounds should produce identical left and right bounds.
LayerSelection insertion_input;
@@ -1944,8 +1941,6 @@ TEST_F(LayerTreeImplTest, SelectionBoundsForSingleLayer) {
insertion_input.start.edge_top = gfx::Point(15, 10);
insertion_input.start.edge_bottom = gfx::Point(15, 30);
insertion_input.start.layer_id = root->id();
- insertion_input.is_editable = true;
- insertion_input.is_empty_text_form_control = true;
insertion_input.end = insertion_input.start;
host_impl().active_tree()->RegisterSelection(insertion_input);
host_impl().active_tree()->GetViewportSelection(&output);
@@ -1954,9 +1949,6 @@ TEST_F(LayerTreeImplTest, SelectionBoundsForSingleLayer) {
output.start.edge_bottom());
EXPECT_EQ(gfx::PointF(insertion_input.start.edge_top),
output.start.edge_top());
- EXPECT_EQ(insertion_input.is_editable, output.is_editable);
- EXPECT_EQ(insertion_input.is_empty_text_form_control,
- output.is_empty_text_form_control);
EXPECT_TRUE(output.start.visible());
EXPECT_EQ(output.start, output.end);
}
« no previous file with comments | « cc/trees/layer_tree_impl.cc ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698