Commit 1a0407f6 authored by tanvir.rizvi's avatar tanvir.rizvi Committed by Commit Bot

Use default value of is_directional_ in WebLocalFrameImpl

WebLocalFrameImpl sets is_directional_ value to false
explicitly for building SelectionTemplate.
By default the is_directional_ value is false in
SelectionTemplate so we don't need to explicitly set.

Bug: 740804
Change-Id: I8f332d441b0265a230240fec30e892c4d55d4776
Reviewed-on: https://chromium-review.googlesource.com/765751Reviewed-by: default avatarXiaocheng Hu <xiaochengh@chromium.org>
Reviewed-by: default avatarYoshifumi Inoue <yosin@chromium.org>
Reviewed-by: default avatarDavid Bokan <bokan@chromium.org>
Commit-Queue: Tanvir Rizvi <tanvir.rizvi@samsung.com>
Cr-Commit-Position: refs/heads/master@{#516329}
parent 7fcbc78b
...@@ -1200,7 +1200,6 @@ void WebLocalFrameImpl::SelectRange( ...@@ -1200,7 +1200,6 @@ void WebLocalFrameImpl::SelectRange(
SelectionInDOMTree::Builder() SelectionInDOMTree::Builder()
.SetBaseAndExtent(range) .SetBaseAndExtent(range)
.SetAffinity(TextAffinity::kDefault) .SetAffinity(TextAffinity::kDefault)
.SetIsDirectional(false)
.Build(), .Build(),
SetSelectionOptions::Builder() SetSelectionOptions::Builder()
.SetShouldShowHandle(show_handles) .SetShouldShowHandle(show_handles)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment