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

Issue 15165002: Fix assert failure in RenderObjectChildList::removeChildNode (Closed)

Created:
7 years, 7 months ago by falken
Modified:
7 years, 7 months ago
CC:
ojan, Julien - ping for review
Visibility:
Public.

Description

Fix assert failure in RenderObjectChildList::removeChildNode Inserting an element before the fullscreened element could crash if it caused a containing inline to be split, since the splitting logic doesn't expect the fullscreened element to be wrapped in a RenderFullScreen. This commit changes inline splitting to be aware of RenderFullScreen. BUG=177688 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=150447

Patch Set 1 : patch #

Total comments: 2

Patch Set 2 : fix in split #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -0 lines) Patch
A LayoutTests/fullscreen/full-screen-inline-split-crash.html View 1 1 chunk +18 lines, -0 lines 0 comments Download
A LayoutTests/fullscreen/full-screen-inline-split-crash-expected.txt View 1 chunk +3 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderInline.cpp View 1 2 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
falken
Hi all, What do you think of this idea? It's definitely not ready to commit ...
7 years, 7 months ago (2013-05-14 13:48:37 UTC) #1
inferno
7 years, 7 months ago (2013-05-14 20:32:42 UTC) #2
inferno
On 2013/05/14 20:32:42, inferno wrote: This code path should be very hot. cced Elliot, Hajime ...
7 years, 7 months ago (2013-05-14 21:01:03 UTC) #3
esprehn
https://codereview.chromium.org/15165002/diff/2001/Source/core/dom/NodeRenderingContext.cpp File Source/core/dom/NodeRenderingContext.cpp (right): https://codereview.chromium.org/15165002/diff/2001/Source/core/dom/NodeRenderingContext.cpp#newcode128 Source/core/dom/NodeRenderingContext.cpp:128: renderer = element->document()->fullScreenRenderer(); This doesn't seem like the right ...
7 years, 7 months ago (2013-05-14 21:32:28 UTC) #4
falken
https://codereview.chromium.org/15165002/diff/2001/Source/core/dom/NodeRenderingContext.cpp File Source/core/dom/NodeRenderingContext.cpp (right): https://codereview.chromium.org/15165002/diff/2001/Source/core/dom/NodeRenderingContext.cpp#newcode128 Source/core/dom/NodeRenderingContext.cpp:128: renderer = element->document()->fullScreenRenderer(); On 2013/05/14 21:32:28, esprehn wrote: > ...
7 years, 7 months ago (2013-05-15 01:46:36 UTC) #5
falken
I've uploaded a new patch that fixes the splitting code directly. I verified it fixes ...
7 years, 7 months ago (2013-05-15 06:11:38 UTC) #6
esprehn
LGTM. This looks much better. Eventually we'll move full screen into top layer and this ...
7 years, 7 months ago (2013-05-15 06:52:16 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/falken@chromium.org/15165002/12001
7 years, 7 months ago (2013-05-15 09:22:22 UTC) #8
commit-bot: I haz the power
Retried try job too often on blink_bare_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=blink_bare_presubmit&number=1030
7 years, 7 months ago (2013-05-15 11:32:34 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/falken@chromium.org/15165002/12001
7 years, 7 months ago (2013-05-15 13:53:53 UTC) #10
commit-bot: I haz the power
Retried try job too often on blink_bare_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=blink_bare_presubmit&number=1044
7 years, 7 months ago (2013-05-15 14:59:00 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/falken@chromium.org/15165002/12001
7 years, 7 months ago (2013-05-15 15:41:44 UTC) #12
commit-bot: I haz the power
7 years, 7 months ago (2013-05-15 17:42:52 UTC) #13
Message was sent while issue was closed.
Change committed as 150447

Powered by Google App Engine
This is Rietveld 408576698