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

Unified Diff: cc/input/selection.h

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 | « no previous file | cc/ipc/cc_param_traits_macros.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/input/selection.h
diff --git a/cc/input/selection.h b/cc/input/selection.h
index 1f3c6ebac052e0fed32d44a1b2edb3ecc489423e..bbd189a22951843a36a57015a33a3c73b2f2035b 100644
--- a/cc/input/selection.h
+++ b/cc/input/selection.h
@@ -11,20 +11,16 @@ namespace cc {
template <typename BoundType>
struct CC_EXPORT Selection {
- Selection() : is_editable(false), is_empty_text_form_control(false) {}
+ Selection() {}
~Selection() {}
BoundType start, end;
- bool is_editable;
- bool is_empty_text_form_control;
};
template <typename BoundType>
inline bool operator==(const Selection<BoundType>& lhs,
const Selection<BoundType>& rhs) {
- return lhs.start == rhs.start && lhs.end == rhs.end &&
- lhs.is_editable == rhs.is_editable &&
- lhs.is_empty_text_form_control == rhs.is_empty_text_form_control;
+ return lhs.start == rhs.start && lhs.end == rhs.end;
}
template <typename BoundType>
« no previous file with comments | « no previous file | cc/ipc/cc_param_traits_macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698