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

Issue 1151573020: Fix the crash when the drawer is hidden. (Closed)

Created:
5 years, 6 months ago by Hixie
Modified:
5 years, 6 months ago
Reviewers:
abarth-chromium
CC:
abarth-chromium, gregsimon, mojo-reviews_chromium.org, qsr+mojo_chromium.org
Base URL:
https://github.com/domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Fix the crash when the drawer is hidden. The root cause of the crash was threefold: - you can't enumerate enums, in dart; you have to enumerate their values. - RenderNodeWrapper was trying to call remove(child.root) on its root, but that's not something that all RenderNodes have - when a RenderNode was deparented, its relayoutSubtreeRoot wasn't removed, so the node ended up in an inconsistent state regarding its parent tree R=abarth@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/9cc97faa7e880c74ab4449c1acc9333ccd211b33

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -15 lines) Patch
M sky/sdk/lib/framework/components2/scaffold.dart View 1 chunk +1 line, -1 line 0 comments Download
M sky/sdk/lib/framework/fn2.dart View 3 chunks +17 lines, -11 lines 0 comments Download
M sky/sdk/lib/framework/rendering/node.dart View 4 chunks +6 lines, -3 lines 0 comments Download

Messages

Total messages: 3 (1 generated)
abarth-chromium
lgtm
5 years, 6 months ago (2015-06-04 17:14:47 UTC) #2
Hixie
5 years, 6 months ago (2015-06-04 17:39:39 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
9cc97faa7e880c74ab4449c1acc9333ccd211b33 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698