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

Issue 236193002: Early return in RenderLayerCompositor::updateForceCompositingMode. (Closed)

Created:
6 years, 8 months ago by ojan
Modified:
6 years, 8 months ago
CC:
blink-reviews, bemjb+rendering_chromium.org, dsinclair, zoltan1, eae+blinkwatch, leviw+renderwatch, abarth-chromium, jchaffraix+rendering, pdr., rune+blink
Visibility:
Public.

Description

Early return in RenderLayerCompositor::updateForceCompositingMode. We're hitting an assert in requiresCompositingForScrollableFrame, because it depends on layout information. With http://src.chromium.org/viewvc/blink?revision=171366&view=revision, we now try to update this state when setting forceCompositingMode, at which point, layout is not necessarily up to date. We can just early return here because this method will be called again after we've done the layout. This does potentially expose us to bugs from chicken-egg issues that depend on the m_forceCompositingMode bit for subframes. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171389

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -1 line) Patch
M Source/core/rendering/compositing/RenderLayerCompositor.cpp View 1 chunk +7 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
ojan
6 years, 8 months ago (2014-04-11 23:50:21 UTC) #1
ojan
I'm not super happy with this fixed, but I'm not really sure how else to ...
6 years, 8 months ago (2014-04-11 23:55:16 UTC) #2
esprehn
Lgtm, this sucks, but hopefully we can eventually make this part of the syst sane. ...
6 years, 8 months ago (2014-04-11 23:58:26 UTC) #3
ojan
The CQ bit was checked by ojan@chromium.org
6 years, 8 months ago (2014-04-12 00:12:13 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ojan@chromium.org/236193002/1
6 years, 8 months ago (2014-04-12 00:12:32 UTC) #5
ojan
> Why do we call this at both the start and end of layout? We ...
6 years, 8 months ago (2014-04-12 00:17:01 UTC) #6
commit-bot: I haz the power
6 years, 8 months ago (2014-04-12 00:51:37 UTC) #7
Message was sent while issue was closed.
Change committed as 171389

Powered by Google App Engine
This is Rietveld 408576698