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

Issue 2781593003: [Devtools] DataGrid & ViewportDataGrid now should resetNode for children (Closed)

Created:
3 years, 9 months ago by allada
Modified:
3 years, 9 months ago
Reviewers:
caseq, dgozman
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, pfeldman, kozyatinskiy+blink_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Devtools] DataGrid & ViewportDataGrid now should resetNode for children This patch should ensure that ViewportDataGrid and DataGrid play nice with eachother when removing and adding items to the dom. The core issue was that _depth in DataGrid was not being cleared when handled by ViewportDataGrid. This is not a long term solution, but is something meant to let us get by until we can refactor DataGrid. R=caseq,dgozman BUG=696109 Review-Url: https://codereview.chromium.org/2781593003 Cr-Commit-Position: refs/heads/master@{#459959} Committed: https://chromium.googlesource.com/chromium/src/+/8309530bfed7acbabd6a64adc53c5c7f2102e745

Patch Set 1 #

Patch Set 2 : [Devtools] DataGrid & ViewportDataGrid now should resetNode for children #

Total comments: 4

Messages

Total messages: 10 (3 generated)
allada
PTL
3 years, 9 months ago (2017-03-27 18:58:29 UTC) #1
dgozman
https://codereview.chromium.org/2781593003/diff/20001/third_party/WebKit/Source/devtools/front_end/data_grid/DataGrid.js File third_party/WebKit/Source/devtools/front_end/data_grid/DataGrid.js (left): https://codereview.chromium.org/2781593003/diff/20001/third_party/WebKit/Source/devtools/front_end/data_grid/DataGrid.js#oldcode1624 third_party/WebKit/Source/devtools/front_end/data_grid/DataGrid.js:1624: child._depth = undefined; Who does this now?
3 years, 9 months ago (2017-03-27 21:15:24 UTC) #2
allada
https://codereview.chromium.org/2781593003/diff/20001/third_party/WebKit/Source/devtools/front_end/data_grid/DataGrid.js File third_party/WebKit/Source/devtools/front_end/data_grid/DataGrid.js (left): https://codereview.chromium.org/2781593003/diff/20001/third_party/WebKit/Source/devtools/front_end/data_grid/DataGrid.js#oldcode1624 third_party/WebKit/Source/devtools/front_end/data_grid/DataGrid.js:1624: child._depth = undefined; On 2017/03/27 21:15:23, dgozman wrote: > ...
3 years, 9 months ago (2017-03-27 21:55:04 UTC) #3
dgozman
lgtm https://codereview.chromium.org/2781593003/diff/20001/third_party/WebKit/Source/devtools/front_end/data_grid/DataGrid.js File third_party/WebKit/Source/devtools/front_end/data_grid/DataGrid.js (right): https://codereview.chromium.org/2781593003/diff/20001/third_party/WebKit/Source/devtools/front_end/data_grid/DataGrid.js#newcode1650 third_party/WebKit/Source/devtools/front_end/data_grid/DataGrid.js:1650: current._attached = false; Don't need this.
3 years, 9 months ago (2017-03-27 22:47:02 UTC) #4
allada
https://codereview.chromium.org/2781593003/diff/20001/third_party/WebKit/Source/devtools/front_end/data_grid/DataGrid.js File third_party/WebKit/Source/devtools/front_end/data_grid/DataGrid.js (right): https://codereview.chromium.org/2781593003/diff/20001/third_party/WebKit/Source/devtools/front_end/data_grid/DataGrid.js#newcode1650 third_party/WebKit/Source/devtools/front_end/data_grid/DataGrid.js:1650: current._attached = false; On 2017/03/27 22:47:01, dgozman wrote: > ...
3 years, 9 months ago (2017-03-27 23:18:24 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2781593003/20001
3 years, 9 months ago (2017-03-27 23:19:21 UTC) #7
commit-bot: I haz the power
3 years, 9 months ago (2017-03-28 00:54:37 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/8309530bfed7acbabd6a64adc53c...

Powered by Google App Engine
This is Rietveld 408576698