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

Issue 455883002: Re-land of: Allow paint invalidation containers to cross frame boundaries. (Closed)

Created:
6 years, 4 months ago by chrishtr
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

Re-land of: Allow paint invalidation containers to cross frame boundaries. The previous version had an infinite loop bug in RenderObject when there are two nested frames. Previously, the *actual* paint invalidation container, meaning the enclosing compositing layer / root RenderView, could already have been across a frame boundary. The logic to do this correctly was done via special code in RenderView. Instead, generalize the existing mechanisms to find a paint invalidation container and map rects to repaint container coordinate space to cross frame boundaries. This simplifies the code, and also causes paint invalidation rects to always be stored in the coordinate space of their graphics layer backing. The latter is important if we want to use these rects for determining which parts of a graphics layer need to be painted. BUG=401156 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179858

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -57 lines) Patch
M Source/core/frame/FrameView.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderLayerRepainter.cpp View 1 chunk +0 lines, -16 lines 0 comments Download
M Source/core/rendering/RenderObject.h View 1 chunk +1 line, -4 lines 0 comments Download
M Source/core/rendering/RenderObject.cpp View 5 chunks +20 lines, -11 lines 2 comments Download
M Source/core/rendering/RenderView.cpp View 5 chunks +30 lines, -25 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
chrishtr
https://codereview.chromium.org/455883002/diff/1/Source/core/rendering/RenderObject.cpp File Source/core/rendering/RenderObject.cpp (right): https://codereview.chromium.org/455883002/diff/1/Source/core/rendering/RenderObject.cpp#newcode1457 Source/core/rendering/RenderObject.cpp:1457: renderView = renderView->frame()->ownerRenderer()->view(); Changed line.
6 years, 4 months ago (2014-08-08 17:57:54 UTC) #1
leviw_travelin_and_unemployed
The CQ bit was checked by leviw@chromium.org
6 years, 4 months ago (2014-08-08 18:06:31 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/chrishtr@chromium.org/455883002/1
6 years, 4 months ago (2014-08-08 18:07:14 UTC) #3
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-08 18:07:15 UTC) #4
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
6 years, 4 months ago (2014-08-08 18:07:16 UTC) #5
leviw_travelin_and_unemployed
lgtm https://codereview.chromium.org/455883002/diff/1/Source/core/rendering/RenderObject.cpp File Source/core/rendering/RenderObject.cpp (right): https://codereview.chromium.org/455883002/diff/1/Source/core/rendering/RenderObject.cpp#newcode1457 Source/core/rendering/RenderObject.cpp:1457: renderView = renderView->frame()->ownerRenderer()->view(); This seems better ;) lgtm
6 years, 4 months ago (2014-08-08 18:07:53 UTC) #6
chrishtr
The CQ bit was checked by chrishtr@chromium.org
6 years, 4 months ago (2014-08-08 18:13:07 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/chrishtr@chromium.org/455883002/1
6 years, 4 months ago (2014-08-08 18:13:19 UTC) #8
commit-bot: I haz the power
Change committed as 179858
6 years, 4 months ago (2014-08-08 19:27:39 UTC) #9
leviw_travelin_and_unemployed
6 years, 4 months ago (2014-08-14 23:39:02 UTC) #10
Message was sent while issue was closed.
A revert of this CL (patchset #1) has been created in
https://codereview.chromium.org/469383003/ by leviw@chromium.org.

The reason for reverting is: Broke iframe repainting:
https://code.google.com/p/chromium/issues/detail?id=403734..

Powered by Google App Engine
This is Rietveld 408576698