diff options
author | jdduke <jdduke@chromium.org> | 2015-04-23 12:36:44 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-23 19:36:51 +0000 |
commit | 449b529362950ccdfc48715146a466d7278b75dd (patch) | |
tree | ec64c472a9264aa6a4f0d0cccf198a2610e9d58e /cc/trees/layer_tree_host_impl.cc | |
parent | 2c2273d86f318ab7a46ce047266432e1f1089443 (diff) | |
download | chromium_src-449b529362950ccdfc48715146a466d7278b75dd.zip chromium_src-449b529362950ccdfc48715146a466d7278b75dd.tar.gz chromium_src-449b529362950ccdfc48715146a466d7278b75dd.tar.bz2 |
Plumb selection bounds as a single unit
Route the new WebSelectionBounds selection unit from Blink atomically,
rather than using a pair of data structures to indicate selection.
This depends directly on crrev.com/929213004.
BUG=466672,410543,417903
Review URL: https://codereview.chromium.org/1000243002
Cr-Commit-Position: refs/heads/master@{#326606}
Diffstat (limited to 'cc/trees/layer_tree_host_impl.cc')
-rw-r--r-- | cc/trees/layer_tree_host_impl.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc index 7f40c98..1b1f6fc 100644 --- a/cc/trees/layer_tree_host_impl.cc +++ b/cc/trees/layer_tree_host_impl.cc @@ -1435,8 +1435,7 @@ CompositorFrameMetadata LayerTreeHostImpl::MakeCompositorFrameMetadata() const { metadata.location_bar_content_translation = gfx::Vector2dF(0.f, top_controls_manager_->ContentTopOffset()); - active_tree_->GetViewportSelection(&metadata.selection_start, - &metadata.selection_end); + active_tree_->GetViewportSelection(&metadata.selection); LayerImpl* root_layer_for_overflow = OuterViewportScrollLayer() ? OuterViewportScrollLayer() |