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

Issue 323653002: Delete CompositingUpdateAfterLayout (Closed)

Created:
6 years, 6 months ago by abarth-chromium
Modified:
6 years, 6 months ago
Reviewers:
esprehn
Visibility:
Public.

Description

Delete CompositingUpdateAfterLayout Rather than using a different update type, we can just mark the root as needing its properties updated, which will cause us to update the entire tree. This CL alone isn't a huge win, but it will let us remove RenderLayerCompositor::m_compositingLayersNeedRebuild in the next CL. Also, move the call to enableCompositingModeIfNeeded into the new RenderLayerCompositor::didLayout function. This makes the sequence look a bit silly (because we mark the dirty bit only to clear it immediately), but that's what the code did before (albeit in a more roundabout way). BUG=332248 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175738 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175752

Patch Set 1 #

Patch Set 2 : Add back two lines to fix browser_test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -13 lines) Patch
M Source/core/frame/FrameView.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/compositing/RenderLayerCompositor.h View 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/rendering/compositing/RenderLayerCompositor.cpp View 1 2 chunks +17 lines, -11 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
abarth-chromium
6 years, 6 months ago (2014-06-06 23:23:15 UTC) #1
esprehn
lgtm
6 years, 6 months ago (2014-06-06 23:27:12 UTC) #2
abarth-chromium
The CQ bit was checked by abarth@chromium.org
6 years, 6 months ago (2014-06-07 04:56:03 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/abarth@chromium.org/323653002/1
6 years, 6 months ago (2014-06-07 04:56:55 UTC) #4
commit-bot: I haz the power
Change committed as 175738
6 years, 6 months ago (2014-06-07 06:02:55 UTC) #5
dcheng
A revert of this CL has been created in https://codereview.chromium.org/321663002/ by dcheng@chromium.org. The reason for ...
6 years, 6 months ago (2014-06-07 09:13:31 UTC) #6
abarth-chromium
Here's the stack. RenderMarquee: O_o #3 0x000005b0d325 WebCore::RenderLayerCompositor::inCompositingMode() #4 0x000005a4c777 WebCore::RenderLayerScrollableArea::setScrollOffset() #5 0x0000047c7b56 WebCore::ScrollableArea::scrollPositionChanged() #6 ...
6 years, 6 months ago (2014-06-07 09:53:16 UTC) #7
abarth-chromium
The CQ bit was checked by abarth@chromium.org
6 years, 6 months ago (2014-06-07 23:53:03 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/abarth@chromium.org/323653002/20001
6 years, 6 months ago (2014-06-07 23:53:39 UTC) #9
commit-bot: I haz the power
6 years, 6 months ago (2014-06-08 00:57:22 UTC) #10
Message was sent while issue was closed.
Change committed as 175752

Powered by Google App Engine
This is Rietveld 408576698