Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(871)

Issue 1463143005: DevTools: avoid layout thrashing on Layers panel (Closed)

Created:
5 years, 1 month ago by caseq
Modified:
5 years, 1 month ago
Reviewers:
pfeldman
CC:
chromium-reviews, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, sergeyv+blink_chromium.org, pfeldman, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: avoid layout thrashing on Layers panel - only adjust canvas size in Layers3DView upon resize and onShown; - fix selection comparison in LayerViewHost to properly check member-wise equality; - fix LayerTreeOutline's updateLayer() to properly check parent of root node; BUG= Committed: https://crrev.com/3f7c49812f4ef7271fd979356bf5aab2d85b573d Cr-Commit-Position: refs/heads/master@{#361001}

Patch Set 1 #

Total comments: 3

Patch Set 2 : nuked onreveal(), simplified deferredScrollIntoView() #

Patch Set 3 : do not center on reveal when scrolling/searching #

Total comments: 5

Patch Set 4 : extracted reveal() change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -23 lines) Patch
M third_party/WebKit/Source/devtools/front_end/timeline/LayerTreeOutline.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/timeline/LayerViewHost.js View 1 2 7 chunks +16 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/timeline/Layers3DView.js View 5 chunks +9 lines, -16 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
caseq
5 years, 1 month ago (2015-11-20 18:45:11 UTC) #2
pfeldman
https://codereview.chromium.org/1463143005/diff/1/third_party/WebKit/Source/devtools/front_end/ui/treeoutline.js File third_party/WebKit/Source/devtools/front_end/ui/treeoutline.js (left): https://codereview.chromium.org/1463143005/diff/1/third_party/WebKit/Source/devtools/front_end/ui/treeoutline.js#oldcode866 third_party/WebKit/Source/devtools/front_end/ui/treeoutline.js:866: this.onreveal(); I think you want it there synchronously. https://codereview.chromium.org/1463143005/diff/1/third_party/WebKit/Source/devtools/front_end/ui/treeoutline.js ...
5 years, 1 month ago (2015-11-20 22:48:52 UTC) #3
caseq
ptal
5 years, 1 month ago (2015-11-20 23:02:13 UTC) #4
caseq
ptal
5 years, 1 month ago (2015-11-21 01:31:14 UTC) #5
pfeldman
lgtm for one of them, but we should split. https://codereview.chromium.org/1463143005/diff/40001/third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js File third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js (right): https://codereview.chromium.org/1463143005/diff/40001/third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js#newcode663 third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js:663: ...
5 years, 1 month ago (2015-11-21 01:38:35 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1463143005/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1463143005/60001
5 years, 1 month ago (2015-11-21 01:48:10 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 1 month ago (2015-11-21 04:01:04 UTC) #11
commit-bot: I haz the power
5 years, 1 month ago (2015-11-21 04:02:26 UTC) #12
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/3f7c49812f4ef7271fd979356bf5aab2d85b573d
Cr-Commit-Position: refs/heads/master@{#361001}

Powered by Google App Engine
This is Rietveld 408576698