| Index: cc/ipc/selection_struct_traits.h
|
| diff --git a/cc/ipc/selection_struct_traits.h b/cc/ipc/selection_struct_traits.h
|
| index c5d52f780fc48537b9e17958380b8d2ab169bc6a..4a35d48a21d3bfd0580d4825039b55766038672f 100644
|
| --- a/cc/ipc/selection_struct_traits.h
|
| +++ b/cc/ipc/selection_struct_traits.h
|
| @@ -31,6 +31,11 @@ struct StructTraits<cc::mojom::Selection, cc::Selection<gfx::SelectionBound>> {
|
| return selection.is_empty_text_form_control;
|
| }
|
|
|
| + static bool is_handle_visible(
|
| + const cc::Selection<gfx::SelectionBound>& selection) {
|
| + return selection.is_handle_visible;
|
| + }
|
| +
|
| static bool Read(cc::mojom::SelectionDataView data,
|
| cc::Selection<gfx::SelectionBound>* out) {
|
| if (!data.ReadStart(&out->start) || !data.ReadEnd(&out->end))
|
| @@ -38,6 +43,7 @@ struct StructTraits<cc::mojom::Selection, cc::Selection<gfx::SelectionBound>> {
|
|
|
| out->is_editable = data.is_editable();
|
| out->is_empty_text_form_control = data.is_empty_text_form_control();
|
| + out->is_handle_visible = data.is_handle_visible();
|
| return true;
|
| }
|
| };
|
|
|