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

Unified Diff: cc/trees/layer_tree_impl.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/ipc/struct_traits_unittest.cc ('k') | cc/trees/layer_tree_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_impl.cc
diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc
index ca0f8587a82bc6c479ad0066a2876913db19e478..8fc5dead7956447798405f86452403b473e5c1ca 100644
--- a/cc/trees/layer_tree_impl.cc
+++ b/cc/trees/layer_tree_impl.cc
@@ -2059,8 +2059,6 @@ void LayerTreeImpl::GetViewportSelection(
selection_.start,
selection_.start.layer_id ? LayerById(selection_.start.layer_id) : NULL,
device_scale_factor());
- selection->is_editable = selection_.is_editable;
- selection->is_empty_text_form_control = selection_.is_empty_text_form_control;
if (selection->start.type() == gfx::SelectionBound::CENTER ||
selection->start.type() == gfx::SelectionBound::EMPTY) {
selection->end = selection->start;
« no previous file with comments | « cc/ipc/struct_traits_unittest.cc ('k') | cc/trees/layer_tree_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698