| Index: cc/ipc/selection_struct_traits.h
|
| diff --git a/cc/ipc/selection_struct_traits.h b/cc/ipc/selection_struct_traits.h
|
| index ca955c6d766985554cce77130d30842176b9ebc7..6115179c95af7a8ad803ebee13587a08b7f9e06f 100644
|
| --- a/cc/ipc/selection_struct_traits.h
|
| +++ b/cc/ipc/selection_struct_traits.h
|
| @@ -23,23 +23,9 @@ struct StructTraits<cc::mojom::SelectionDataView,
|
| return selection.end;
|
| }
|
|
|
| - static bool is_editable(const cc::Selection<gfx::SelectionBound>& selection) {
|
| - return selection.is_editable;
|
| - }
|
| -
|
| - static bool is_empty_text_form_control(
|
| - const cc::Selection<gfx::SelectionBound>& selection) {
|
| - return selection.is_empty_text_form_control;
|
| - }
|
| -
|
| static bool Read(cc::mojom::SelectionDataView data,
|
| cc::Selection<gfx::SelectionBound>* out) {
|
| - if (!data.ReadStart(&out->start) || !data.ReadEnd(&out->end))
|
| - return false;
|
| -
|
| - out->is_editable = data.is_editable();
|
| - out->is_empty_text_form_control = data.is_empty_text_form_control();
|
| - return true;
|
| + return data.ReadStart(&out->start) && data.ReadEnd(&out->end);
|
| }
|
| };
|
|
|
|
|