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

Issue 1082273004: Fix crash when removing layout managers. (Closed)

Created:
5 years, 8 months ago by ojan
Modified:
5 years, 8 months ago
Reviewers:
Hixie, eseidel
CC:
abarth-chromium, 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 crash when removing layout managers. We weren't correctly marking an element as needing style recalc if it was *losing* it's layout manager. We were only doing so when it was gaining a layout manager for the first time. Committed: https://chromium.googlesource.com/external/mojo/+/c75519ccb37e0d463efc50244bdbcbba2c34e2fc

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -8 lines) Patch
M sky/engine/core/dom/Element.cpp View 1 chunk +3 lines, -1 line 2 comments Download
M sky/tests/layout/custom.sky View 4 chunks +40 lines, -7 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
eseidel
lgtm
5 years, 8 months ago (2015-04-14 20:50:37 UTC) #2
Hixie
https://codereview.chromium.org/1082273004/diff/1/sky/engine/core/dom/Element.cpp File sky/engine/core/dom/Element.cpp (right): https://codereview.chromium.org/1082273004/diff/1/sky/engine/core/dom/Element.cpp#newcode967 sky/engine/core/dom/Element.cpp:967: bool isAlreadyCustomLayout = renderer() && renderer()->isRenderCustomLayout(); Shouldn't this be ...
5 years, 8 months ago (2015-04-14 20:53:38 UTC) #4
ojan
https://codereview.chromium.org/1082273004/diff/1/sky/engine/core/dom/Element.cpp File sky/engine/core/dom/Element.cpp (right): https://codereview.chromium.org/1082273004/diff/1/sky/engine/core/dom/Element.cpp#newcode967 sky/engine/core/dom/Element.cpp:967: bool isAlreadyCustomLayout = renderer() && renderer()->isRenderCustomLayout(); On 2015/04/14 20:53:38, ...
5 years, 8 months ago (2015-04-14 20:55:05 UTC) #5
ojan
5 years, 8 months ago (2015-04-14 20:57:10 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
c75519ccb37e0d463efc50244bdbcbba2c34e2fc (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698