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

Issue 134753003: Reland r165710 "Replace RenderFullScreen with top layer" (Closed)

Created:
6 years, 10 months ago by falken
Modified:
6 years, 10 months ago
Reviewers:
esprehn
CC:
blink-reviews, zoltan1, dsinclair, sof, eae+blinkwatch, ed+blinkwatch_opera.com, leviw+renderwatch, blink-layers+watch_chromium.org, dglazkov+blink, apavlov+blink_chromium.org, adamk+blink_chromium.org, jchaffraix+rendering, darktears, bemjb+rendering_chromium.org, Inactive
Visibility:
Public.

Description

Reland r165710 "Replace RenderFullScreen with top layer" It broke browser_test OutOfProcessPPAPITest.Fullscreen by tripping an assert reached by calling pluginWidget in HTMLPluginElement::detach which causes a layout. The solution is to get the existing widget without causing a layout. Original code review: https://codereview.chromium.org/139743005/ BUG=240576, 246077 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=165904

Patch Set 1 : original patch #

Patch Set 2 : don't cause layout during plugin detach #

Total comments: 2

Patch Set 3 : patch for landing #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+278 lines, -475 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 chunks +12 lines, -3 lines 2 comments Download
A LayoutTests/fast/dom/HTMLDialogElement/fullscreen-elements-do-not-affect-modality.html View 1 chunk +105 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/HTMLDialogElement/fullscreen-elements-do-not-affect-modality-expected.txt View 1 chunk +12 lines, -0 lines 0 comments Download
A LayoutTests/fullscreen/full-screen-is-in-top-layer.html View 1 chunk +40 lines, -0 lines 0 comments Download
D LayoutTests/fullscreen/full-screen-placeholder.html View 1 chunk +0 lines, -73 lines 0 comments Download
D LayoutTests/fullscreen/full-screen-placeholder-expected.txt View 1 chunk +0 lines, -17 lines 0 comments Download
A LayoutTests/fullscreen/full-screen-video-has-backdrop.html View 1 chunk +31 lines, -0 lines 0 comments Download
D LayoutTests/platform/linux/fullscreen/parent-flow-inline-with-block-child-expected.png View Binary file 0 comments Download
M Source/core/core.gypi View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/css/fullscreen.css View 1 chunk +22 lines, -1 line 0 comments Download
M Source/core/css/resolver/StyleResolver.cpp View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M Source/core/dom/Document.cpp View 1 2 1 chunk +9 lines, -3 lines 0 comments Download
M Source/core/dom/FullscreenElementStack.h View 3 chunks +0 lines, -6 lines 0 comments Download
M Source/core/dom/FullscreenElementStack.cpp View 10 chunks +14 lines, -50 lines 0 comments Download
M Source/core/dom/RenderTreeBuilder.cpp View 2 chunks +0 lines, -9 lines 0 comments Download
M Source/core/html/HTMLDialogElement.h View 2 chunks +3 lines, -0 lines 0 comments Download
M Source/core/html/HTMLDialogElement.cpp View 4 chunks +10 lines, -0 lines 0 comments Download
M Source/core/html/HTMLPlugInElement.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/html/HTMLPlugInElement.cpp View 1 3 chunks +16 lines, -1 line 0 comments Download
D Source/core/rendering/RenderFullScreen.h View 1 chunk +0 lines, -60 lines 0 comments Download
D Source/core/rendering/RenderFullScreen.cpp View 1 chunk +0 lines, -189 lines 0 comments Download
M Source/core/rendering/RenderInline.cpp View 2 chunks +0 lines, -12 lines 0 comments Download
M Source/core/rendering/RenderLayerCompositor.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/rendering/RenderVideo.h View 1 chunk +0 lines, -5 lines 0 comments Download
M Source/core/rendering/RenderVideo.cpp View 2 chunks +0 lines, -42 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
falken
Elliott, could you take a look again? Patchset 1 is the commit that was reverted ...
6 years, 10 months ago (2014-01-27 11:52:05 UTC) #1
esprehn
lgtm, I'm glad my new ASSERT caught this. https://codereview.chromium.org/134753003/diff/30001/Source/core/css/resolver/StyleResolver.cpp File Source/core/css/resolver/StyleResolver.cpp (right): https://codereview.chromium.org/134753003/diff/30001/Source/core/css/resolver/StyleResolver.cpp#newcode883 Source/core/css/resolver/StyleResolver.cpp:883: /* ...
6 years, 10 months ago (2014-01-28 03:57:45 UTC) #2
falken
thanks https://codereview.chromium.org/134753003/diff/30001/Source/core/css/resolver/StyleResolver.cpp File Source/core/css/resolver/StyleResolver.cpp (right): https://codereview.chromium.org/134753003/diff/30001/Source/core/css/resolver/StyleResolver.cpp#newcode883 Source/core/css/resolver/StyleResolver.cpp:883: /* It's safe to have a backdrop since ...
6 years, 10 months ago (2014-01-28 04:18:09 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/falken@chromium.org/134753003/150001
6 years, 10 months ago (2014-01-28 04:20:28 UTC) #4
commit-bot: I haz the power
Change committed as 165904
6 years, 10 months ago (2014-01-28 07:53:10 UTC) #5
falken
A revert of this CL has been created in https://codereview.chromium.org/132333018/ by falken@chromium.org. The reason for ...
6 years, 10 months ago (2014-01-28 11:15:57 UTC) #6
esprehn
Please remove the Crash status. https://codereview.chromium.org/134753003/diff/150001/LayoutTests/TestExpectations File LayoutTests/TestExpectations (right): https://codereview.chromium.org/134753003/diff/150001/LayoutTests/TestExpectations#newcode689 LayoutTests/TestExpectations:689: Bug(falken) fullscreen/parent-flow-inline-with-block-child.html [ Pass ...
6 years, 10 months ago (2014-01-30 04:48:59 UTC) #7
falken
Thanks! https://codereview.chromium.org/134753003/diff/150001/LayoutTests/TestExpectations File LayoutTests/TestExpectations (right): https://codereview.chromium.org/134753003/diff/150001/LayoutTests/TestExpectations#newcode689 LayoutTests/TestExpectations:689: Bug(falken) fullscreen/parent-flow-inline-with-block-child.html [ Pass ImageOnlyFailure Crash NeedsManualRebaseline ] ...
6 years, 10 months ago (2014-01-30 05:00:20 UTC) #8
esprehn
6 years, 10 months ago (2014-01-30 05:10:34 UTC) #9
Message was sent while issue was closed.
On 2014/01/30 05:00:20, falken wrote:
> Thanks!
> 
>
https://codereview.chromium.org/134753003/diff/150001/LayoutTests/TestExpecta...
> File LayoutTests/TestExpectations (right):
> 
>
https://codereview.chromium.org/134753003/diff/150001/LayoutTests/TestExpecta...
> LayoutTests/TestExpectations:689: Bug(falken)
> fullscreen/parent-flow-inline-with-block-child.html [ Pass ImageOnlyFailure
> Crash NeedsManualRebaseline ]
> On 2014/01/30 04:48:59, esprehn wrote:
> > Remove Crash, it definitely shouldn't crash.
> 
> Did you see the comment above? This is the existing expectation with
> NeedsManualRebaseline added. From bug crbug.com/331576, it looks like it's
> flakily crashing due to a font cache issue. It might be my patch will fix it,
> but I'm not sure, so I'll keep it for now. If it turns out the flaky crash
> disappears after landing, I'll remove it during the manual rebaseline.

Yeah I missed the comment, disregard me. :)

Powered by Google App Engine
This is Rietveld 408576698