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

Issue 146023008: Add layout states to DocumentLifecycle state machine (Closed)

Created:
6 years, 10 months ago by abarth-chromium
Modified:
6 years, 10 months ago
CC:
blink-reviews, philipj_slow, zoltan1, dsinclair, sof, eae+blinkwatch, leviw+renderwatch, eric.carlson_apple.com, blink-layers+watch_chromium.org, feature-media-reviews_chromium.org, dglazkov+blink, adamk+blink_chromium.org, jchaffraix+rendering, bemjb+rendering_chromium.org, Inactive
Visibility:
Public.

Description

Add layout states to DocumentLifecycle state machine This CL adds a number of layout-related states to the DocumentLifecycle state machine. Currently, we're using these states to ASSERT that we're making valid transitions. Eventually, we'll switch over to these states as the source of truth. R=ojan@chromium.org BUG=341627 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=166765

Patch Set 1 #

Total comments: 5

Patch Set 2 : Whitelist one more transition' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+252 lines, -39 lines) Patch
M Source/core/core.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/dom/Document.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M Source/core/dom/Document.cpp View 1 3 chunks +20 lines, -4 lines 0 comments Download
M Source/core/dom/DocumentLifecycle.h View 3 chunks +37 lines, -1 line 0 comments Download
M Source/core/dom/DocumentLifecycle.cpp View 1 2 chunks +89 lines, -16 lines 0 comments Download
A Source/core/frame/DeprecatedScheduleStyleRecalcDuringLayout.h View 1 chunk +26 lines, -0 lines 0 comments Download
A Source/core/frame/DeprecatedScheduleStyleRecalcDuringLayout.cpp View 1 chunk +29 lines, -0 lines 0 comments Download
M Source/core/frame/FrameView.h View 3 chunks +4 lines, -2 lines 0 comments Download
M Source/core/frame/FrameView.cpp View 9 chunks +25 lines, -11 lines 0 comments Download
M Source/core/rendering/RenderLayer.cpp View 2 chunks +12 lines, -3 lines 0 comments Download
M Source/core/rendering/RenderLayerCompositor.cpp View 2 chunks +3 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderMediaControlElements.cpp View 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
abarth-chromium
6 years, 10 months ago (2014-02-07 01:51:18 UTC) #1
abarth-chromium
6 years, 10 months ago (2014-02-07 01:54:27 UTC) #2
ojan
lgtm https://codereview.chromium.org/146023008/diff/1/Source/core/dom/DocumentLifecycle.cpp File Source/core/dom/DocumentLifecycle.cpp (right): https://codereview.chromium.org/146023008/diff/1/Source/core/dom/DocumentLifecycle.cpp#newcode83 Source/core/dom/DocumentLifecycle.cpp:83: if (m_state == Disposed) { Nit: should these ...
6 years, 10 months ago (2014-02-07 02:08:46 UTC) #3
abarth-chromium
https://codereview.chromium.org/146023008/diff/1/Source/core/dom/DocumentLifecycle.cpp File Source/core/dom/DocumentLifecycle.cpp (right): https://codereview.chromium.org/146023008/diff/1/Source/core/dom/DocumentLifecycle.cpp#newcode99 Source/core/dom/DocumentLifecycle.cpp:99: // We can redundant arrive in the style clean ...
6 years, 10 months ago (2014-02-07 02:18:50 UTC) #4
abarth-chromium
The CQ bit was checked by abarth@chromium.org
6 years, 10 months ago (2014-02-07 02:18:56 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/abarth@chromium.org/146023008/1
6 years, 10 months ago (2014-02-07 02:19:41 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-07 05:22:21 UTC) #7
commit-bot: I haz the power
Retried try job too often on win_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_blink_rel&number=26244
6 years, 10 months ago (2014-02-07 05:22:21 UTC) #8
abarth-chromium
The CQ bit was checked by abarth@chromium.org
6 years, 10 months ago (2014-02-07 06:44:01 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/abarth@chromium.org/146023008/1
6 years, 10 months ago (2014-02-07 06:44:19 UTC) #10
abarth-chromium
The CQ bit was unchecked by abarth@chromium.org
6 years, 10 months ago (2014-02-07 07:13:23 UTC) #11
abarth-chromium
Looks like there's a flaky ASSERT from the layout call in Document::implicitClose. I saw that ...
6 years, 10 months ago (2014-02-07 07:16:09 UTC) #12
abarth-chromium
The CQ bit was checked by abarth@chromium.org
6 years, 10 months ago (2014-02-08 06:47:32 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/abarth@chromium.org/146023008/320001
6 years, 10 months ago (2014-02-08 06:47:46 UTC) #14
commit-bot: I haz the power
6 years, 10 months ago (2014-02-08 09:05:16 UTC) #15
Message was sent while issue was closed.
Change committed as 166765

Powered by Google App Engine
This is Rietveld 408576698