Skip to content

Commit

Permalink
[RLS] Use correct ScrollableArea in InspectorLayerTreeAgent
Browse files Browse the repository at this point in the history
Scrolling Layer will be present in PLSA when RLS is enabled

TEST=http/tests/devtools/layers no longer crashes

Bug: 766497
Change-Id: Ie893969b482266f4da01e6171c1daf2a9b3386a2
Reviewed-on: https://chromium-review.googlesource.com/697191
Commit-Queue: srirama chandra sekhar <srirama.m@samsung.com>
Reviewed-by: Steve Kobes <skobes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#506356}
  • Loading branch information
suneel2sunny authored and Commit Bot committed Oct 4, 2017
1 parent 39d80d3 commit cbf9679
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -724,6 +724,7 @@ Sudarsana Babu Nagineni <sudarsana.nagineni@intel.com>
Sudarshan Parthasarathy <sudarshan.p@samsung.com>
Sujae Jo <sujae33.jo@gmail.com>
Sujith S S <sujiths.s@samsung.com>
Suneel Kota <suneel.kota@samsung.com>
Sungguk Lim <limasdf@gmail.com>
Sunghoon Kim <shoon.kim@lge.com>
Sungmann Cho <sungmann.cho@gmail.com>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ InspectorLayerTreeAgent::BuildLayerTree() {
BuildLayerIdToNodeIdMap(compositor->RootLayer(), layer_id_to_node_id_map);
int scrolling_layer_id = inspected_frames_->Root()
->View()
->LayoutViewportScrollableArea()
->LayerForScrolling()
->PlatformLayer()
->Id();
Expand Down

0 comments on commit cbf9679

Please sign in to comment.