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

Issue 271803002: [RAL] Fix nested non-composited RenderView repainting (Closed)

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

Description

[RAL] Fix nested non-composited RenderView repainting When a nested RenderView isn't composited, it acts like a repaint boundary, but then relies on repaintViewRectangle to translate the repaint coordinates into the coordinate space of the actual repaint container. This patch overrides repaintTreeAfterLayout for RenderView to simply repaint the viewRect. It also pushes some repaint logic out of RenderObject and into RenderView. BUG=370366 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175423

Patch Set 1 #

Patch Set 2 : Proposed fix #

Total comments: 6

Patch Set 3 : Updating naming #

Patch Set 4 : Patch for landing #

Patch Set 5 : Remove unnecessary test expectation #

Patch Set 6 : Moar rebaselines #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -8 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 1 chunk +21 lines, -0 lines 0 comments Download
A LayoutTests/fast/repaint/resources/repaint-with-scrollbar-change.html View 1 2 3 1 chunk +46 lines, -0 lines 0 comments Download
A LayoutTests/fast/repaint/scrolled-iframe-scrollbar-change.html View 1 1 chunk +22 lines, -0 lines 0 comments Download
A + LayoutTests/fast/repaint/scrolled-iframe-scrollbar-change-expected.txt View 1 0 chunks +-1 lines, --1 lines 0 comments Download
M Source/core/rendering/RenderBox.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderObject.cpp View 1 2 3 1 chunk +2 lines, -5 lines 0 comments Download
M Source/core/rendering/RenderView.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderView.cpp View 1 2 3 4 5 2 chunks +19 lines, -3 lines 0 comments Download

Messages

Total messages: 44 (0 generated)
leviw_travelin_and_unemployed
6 years, 6 months ago (2014-05-30 01:32:37 UTC) #1
Julien - ping for review
https://codereview.chromium.org/271803002/diff/20001/Source/core/rendering/RenderBox.cpp File Source/core/rendering/RenderBox.cpp (right): https://codereview.chromium.org/271803002/diff/20001/Source/core/rendering/RenderBox.cpp#newcode1592 Source/core/rendering/RenderBox.cpp:1592: LayoutStateMaintainer statePusher(*this, isTableRow() ? LayoutSize() : locationOffset()); It is ...
6 years, 6 months ago (2014-05-30 02:39:31 UTC) #2
leviw_travelin_and_unemployed
https://codereview.chromium.org/271803002/diff/20001/Source/core/rendering/RenderBox.cpp File Source/core/rendering/RenderBox.cpp (right): https://codereview.chromium.org/271803002/diff/20001/Source/core/rendering/RenderBox.cpp#newcode1592 Source/core/rendering/RenderBox.cpp:1592: LayoutStateMaintainer statePusher(*this, isTableRow() ? LayoutSize() : locationOffset()); On 2014/05/30 ...
6 years, 6 months ago (2014-05-30 15:52:57 UTC) #3
dsinclair
lgtm https://codereview.chromium.org/271803002/diff/20001/Source/core/rendering/RenderView.cpp File Source/core/rendering/RenderView.cpp (right): https://codereview.chromium.org/271803002/diff/20001/Source/core/rendering/RenderView.cpp#newcode441 Source/core/rendering/RenderView.cpp:441: void RenderView::repaintTreeAfterLayout(const RenderLayerModelObject& repaintContainer) On 2014/05/30 02:39:32, Julien ...
6 years, 6 months ago (2014-06-02 00:38:28 UTC) #4
leviw_travelin_and_unemployed
Jchaffraix, let me know if you still have objections. I'd love to get this resolved. ...
6 years, 6 months ago (2014-06-02 18:49:26 UTC) #5
Julien - ping for review
lgtm https://codereview.chromium.org/271803002/diff/20001/Source/core/rendering/RenderView.cpp File Source/core/rendering/RenderView.cpp (right): https://codereview.chromium.org/271803002/diff/20001/Source/core/rendering/RenderView.cpp#newcode441 Source/core/rendering/RenderView.cpp:441: void RenderView::repaintTreeAfterLayout(const RenderLayerModelObject& repaintContainer) On 2014/06/02 00:38:29, dsinclair ...
6 years, 6 months ago (2014-06-02 23:21:18 UTC) #6
leviw_travelin_and_unemployed
The CQ bit was checked by leviw@chromium.org
6 years, 6 months ago (2014-06-02 23:30:08 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/leviw@chromium.org/271803002/20001
6 years, 6 months ago (2014-06-02 23:30:54 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-02 23:31:06 UTC) #9
commit-bot: I haz the power
Failed to apply patch for LayoutTests/platform/mac/fast/repaint/overflow-scroll-body-appear-expected.txt: While running patch -p1 --forward --force --no-backup-if-mismatch; can't find ...
6 years, 6 months ago (2014-06-02 23:31:06 UTC) #10
leviw_travelin_and_unemployed
The CQ bit was unchecked by leviw@chromium.org
6 years, 6 months ago (2014-06-02 23:32:31 UTC) #11
leviw_travelin_and_unemployed
The CQ bit was checked by leviw@chromium.org
6 years, 6 months ago (2014-06-03 00:31:55 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/271803002/40001
6 years, 6 months ago (2014-06-03 00:32:38 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: blink_presubmit on tryserver.blink ...
6 years, 6 months ago (2014-06-03 01:35:55 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-03 02:21:18 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/10451)
6 years, 6 months ago (2014-06-03 02:21:18 UTC) #16
leviw_travelin_and_unemployed
The CQ bit was checked by leviw@chromium.org
6 years, 6 months ago (2014-06-03 16:03:20 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/leviw@chromium.org/271803002/60001
6 years, 6 months ago (2014-06-03 16:03:32 UTC) #18
leviw_travelin_and_unemployed
The CQ bit was unchecked by leviw@chromium.org
6 years, 6 months ago (2014-06-03 16:45:48 UTC) #19
leviw_travelin_and_unemployed
The CQ bit was checked by leviw@chromium.org
6 years, 6 months ago (2014-06-03 17:48:47 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/leviw@chromium.org/271803002/80001
6 years, 6 months ago (2014-06-03 17:49:27 UTC) #21
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: blink_presubmit on tryserver.blink ...
6 years, 6 months ago (2014-06-03 19:19:14 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-03 19:28:37 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: blink_presubmit on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/blink_presubmit/builds/6835)
6 years, 6 months ago (2014-06-03 19:28:37 UTC) #24
leviw_travelin_and_unemployed
The CQ bit was checked by leviw@chromium.org
6 years, 6 months ago (2014-06-03 19:35:56 UTC) #25
leviw_travelin_and_unemployed
Gotta re-run because of https://codereview.chromium.org/293063016
6 years, 6 months ago (2014-06-03 19:36:12 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/leviw@chromium.org/271803002/100001
6 years, 6 months ago (2014-06-03 19:36:36 UTC) #27
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, 6 months ago (2014-06-03 21:04:32 UTC) #28
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-03 21:19:23 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/10610)
6 years, 6 months ago (2014-06-03 21:19:24 UTC) #30
leviw_travelin_and_unemployed
The CQ bit was checked by leviw@chromium.org
6 years, 6 months ago (2014-06-03 22:10:34 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/leviw@chromium.org/271803002/120001
6 years, 6 months ago (2014-06-03 22:11:47 UTC) #32
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_blink_rel on tryserver.blink ...
6 years, 6 months ago (2014-06-04 00:03:13 UTC) #33
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-04 00:04:03 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu_triggered_tests/builds/13603)
6 years, 6 months ago (2014-06-04 00:04:04 UTC) #35
leviw_travelin_and_unemployed
The CQ bit was checked by leviw@chromium.org
6 years, 6 months ago (2014-06-04 00:40:21 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/leviw@chromium.org/271803002/120001
6 years, 6 months ago (2014-06-04 00:40:42 UTC) #37
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_blink_rel on tryserver.blink ...
6 years, 6 months ago (2014-06-04 01:06:17 UTC) #38
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-04 01:07:05 UTC) #39
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu_triggered_tests/builds/13603)
6 years, 6 months ago (2014-06-04 01:07:06 UTC) #40
leviw_travelin_and_unemployed
The CQ bit was checked by leviw@chromium.org
6 years, 6 months ago (2014-06-04 01:11:34 UTC) #41
leviw_travelin_and_unemployed
On 2014/06/04 01:07:06, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 6 months ago (2014-06-04 01:12:13 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/leviw@chromium.org/271803002/120001
6 years, 6 months ago (2014-06-04 01:12:13 UTC) #43
commit-bot: I haz the power
6 years, 6 months ago (2014-06-04 01:59:06 UTC) #44
Message was sent while issue was closed.
Change committed as 175423

Powered by Google App Engine
This is Rietveld 408576698