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

Issue 434453002: Promote inlines to first-class invalidation citizens (Closed)

Created:
6 years, 4 months ago by leviw_travelin_and_unemployed
Modified:
6 years, 4 months ago
CC:
blink-layers+watch_chromium.org, blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr., rune+blink, zoltan1
Project:
blink
Visibility:
Public.

Description

Promote inlines to first-class invalidation citizens Have RenderInline's update and invalidate themselves like other descendants of RenderLayerModelObject by pulling most of the invalidation logic down into RenderLayerModelObject. We end up doing slightly more work, but we simplify multiple codepaths, which I believe is superior. BUG=397455 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179682

Patch Set 1 #

Patch Set 2 : Fix a couple comments/style issues #

Patch Set 3 : Remove another unnecessary comment #

Patch Set 4 : Fix typo #

Patch Set 5 : Fix rename #

Patch Set 6 : Add test and expectations #

Total comments: 11

Patch Set 7 : Updated to ToT, and addressed the comments #

Patch Set 8 : One more typo. #

Patch Set 9 : One more small fix #

Patch Set 10 : Move function to public again #

Patch Set 11 : Add test expectations #

Patch Set 12 : More expectations #

Patch Set 13 : One more tests expectation #

Patch Set 14 : Fix expectations that blew up for some reason #

Patch Set 15 : Add missing float expectations #

Patch Set 16 : Updated to ToT #

Patch Set 17 : This is up to date... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -116 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +31 lines, -0 lines 0 comments Download
M Source/core/rendering/PaintInvalidationState.h View 1 2 3 4 5 6 1 chunk +1 line, -3 lines 0 comments Download
M Source/core/rendering/PaintInvalidationState.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +4 lines, -45 lines 0 comments Download
M Source/core/rendering/RenderBox.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +1 line, -3 lines 0 comments Download
M Source/core/rendering/RenderBox.cpp View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +22 lines, -46 lines 0 comments Download
M Source/core/rendering/RenderInline.h View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderInline.cpp View 1 2 3 4 5 6 2 chunks +1 line, -17 lines 0 comments Download
M Source/core/rendering/RenderLayerModelObject.h View 1 2 3 4 5 6 9 2 chunks +2 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderLayerModelObject.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +36 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (0 generated)
dsinclair
https://codereview.chromium.org/434453002/diff/90001/Source/core/rendering/RenderLayerModelObject.cpp File Source/core/rendering/RenderLayerModelObject.cpp (right): https://codereview.chromium.org/434453002/diff/90001/Source/core/rendering/RenderLayerModelObject.cpp#newcode200 Source/core/rendering/RenderLayerModelObject.cpp:200: // FIXME: SVG should probably also go through this ...
6 years, 4 months ago (2014-07-31 17:49:42 UTC) #1
Julien - ping for review
I really like the direction of this change. https://codereview.chromium.org/434453002/diff/90001/Source/core/rendering/PaintInvalidationState.cpp File Source/core/rendering/PaintInvalidationState.cpp (left): https://codereview.chromium.org/434453002/diff/90001/Source/core/rendering/PaintInvalidationState.cpp#oldcode49 Source/core/rendering/PaintInvalidationState.cpp:49: // ...
6 years, 4 months ago (2014-08-04 19:36:39 UTC) #2
dsinclair
https://codereview.chromium.org/434453002/diff/90001/Source/core/rendering/PaintInvalidationState.cpp File Source/core/rendering/PaintInvalidationState.cpp (right): https://codereview.chromium.org/434453002/diff/90001/Source/core/rendering/PaintInvalidationState.cpp#newcode68 Source/core/rendering/PaintInvalidationState.cpp:68: m_paintOffset += toRenderInline(container)->offsetForInFlowPositionedInline(toRenderBox(renderer)); renderer is a RenderLayerModelObject, does this ...
6 years, 4 months ago (2014-08-05 15:09:48 UTC) #3
leviw_travelin_and_unemployed
PTAL. https://codereview.chromium.org/434453002/diff/90001/Source/core/rendering/PaintInvalidationState.cpp File Source/core/rendering/PaintInvalidationState.cpp (left): https://codereview.chromium.org/434453002/diff/90001/Source/core/rendering/PaintInvalidationState.cpp#oldcode49 Source/core/rendering/PaintInvalidationState.cpp:49: // FIXME: SVG could probably benefit from a ...
6 years, 4 months ago (2014-08-05 22:34:44 UTC) #4
leviw_travelin_and_unemployed
6 years, 4 months ago (2014-08-05 22:34:53 UTC) #5
leviw_travelin_and_unemployed
> https://codereview.chromium.org/434453002/diff/90001/Source/core/rendering/RenderLayerModelObject.h > File Source/core/rendering/RenderLayerModelObject.h (right): > > https://codereview.chromium.org/434453002/diff/90001/Source/core/rendering/RenderLayerModelObject.h#newcode69 > Source/core/rendering/RenderLayerModelObject.h:69: virtual void invalidateTreeIfNeeded(const PaintInvalidationState&) ...
6 years, 4 months ago (2014-08-05 22:47:07 UTC) #6
dsinclair
lgtm
6 years, 4 months ago (2014-08-06 15:03:27 UTC) #7
Julien - ping for review
lgtm
6 years, 4 months ago (2014-08-06 18:14:29 UTC) #8
leviw_travelin_and_unemployed
The CQ bit was checked by leviw@chromium.org
6 years, 4 months ago (2014-08-06 18:24:44 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/leviw@chromium.org/434453002/190001
6 years, 4 months ago (2014-08-06 18:26:29 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_blink_dbg on tryserver.blink ...
6 years, 4 months ago (2014-08-06 20:14:34 UTC) #11
leviw_travelin_and_unemployed
The CQ bit was checked by leviw@chromium.org
6 years, 4 months ago (2014-08-06 20:30:04 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/leviw@chromium.org/434453002/210001
6 years, 4 months ago (2014-08-06 20:30:58 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_blink_dbg on tryserver.blink ...
6 years, 4 months ago (2014-08-06 21:58:24 UTC) #14
leviw_travelin_and_unemployed
The CQ bit was checked by leviw@chromium.org
6 years, 4 months ago (2014-08-06 22:09:02 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/leviw@chromium.org/434453002/230001
6 years, 4 months ago (2014-08-06 22:09:18 UTC) #16
leviw_travelin_and_unemployed
Other huge rebaselines of the same tests are making landing this a nightmare :-/
6 years, 4 months ago (2014-08-06 22:09:26 UTC) #17
leviw_travelin_and_unemployed
The CQ bit was checked by leviw@chromium.org
6 years, 4 months ago (2014-08-06 22:25:07 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/leviw@chromium.org/434453002/250001
6 years, 4 months ago (2014-08-06 22:25:57 UTC) #19
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_blink_dbg on tryserver.blink ...
6 years, 4 months ago (2014-08-06 23:54:23 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-06 23:55:56 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/18735)
6 years, 4 months ago (2014-08-06 23:55:57 UTC) #22
Xianzhu
The CQ bit was checked by wangxianzhu@chromium.org
6 years, 4 months ago (2014-08-07 00:22:08 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/leviw@chromium.org/434453002/260001
6 years, 4 months ago (2014-08-07 00:23:18 UTC) #24
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-07 00:23:31 UTC) #25
commit-bot: I haz the power
Failed to apply patch for Source/core/rendering/PaintInvalidationState.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 4 months ago (2014-08-07 00:23:32 UTC) #26
leviw_travelin_and_unemployed
The CQ bit was checked by leviw@chromium.org
6 years, 4 months ago (2014-08-07 01:39:10 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/leviw@chromium.org/434453002/300001
6 years, 4 months ago (2014-08-07 01:39:40 UTC) #28
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_blink_dbg on tryserver.blink ...
6 years, 4 months ago (2014-08-07 03:04:24 UTC) #29
commit-bot: I haz the power
6 years, 4 months ago (2014-08-07 04:00:46 UTC) #30
Message was sent while issue was closed.
Change committed as 179682

Powered by Google App Engine
This is Rietveld 408576698