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

Issue 330283008: Fix rendering regression for out-of-process iframes (Closed)

Created:
6 years, 6 months ago by kenrb
Modified:
6 years, 6 months ago
Reviewers:
jamesr, esprehn, ojan
CC:
abarth-chromium, blink-reviews, esprehn, jchaffraix+rendering, site-isolation-reviews_chromium.org
Project:
blink
Visibility:
Public.

Description

Fix rendering regression for out-of-process iframes Changes to the compositing path meant the toggle of an iframe to having a self-painting layer wasn't getting updated. R=jamesr@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176130

Patch Set 1 #

Total comments: 1

Patch Set 2 : Removed condition, as per comment #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M Source/web/WebLocalFrameImpl.cpp View 1 1 chunk +1 line, -0 lines 3 comments Download

Messages

Total messages: 14 (0 generated)
kenrb
James are you able to review this? It's a 2-line patch to fix a regression, ...
6 years, 6 months ago (2014-06-13 18:48:08 UTC) #1
jamesr
I'm not sure if this makes sense or not. +cc a number of people who ...
6 years, 6 months ago (2014-06-13 19:04:33 UTC) #2
esprehn
lgtm, what fails with this? Can you mention what tests were failing without this? https://codereview.chromium.org/330283008/diff/1/Source/web/WebLocalFrameImpl.cpp ...
6 years, 6 months ago (2014-06-13 19:06:50 UTC) #3
kenrb
We are still working on getting tests for cross-process iframes with --site-per-process, and that fact ...
6 years, 6 months ago (2014-06-13 19:26:31 UTC) #4
kenrb
The CQ bit was checked by kenrb@chromium.org
6 years, 6 months ago (2014-06-13 19:26:37 UTC) #5
kenrb
The CQ bit was unchecked by kenrb@chromium.org
6 years, 6 months ago (2014-06-13 19:26:42 UTC) #6
kenrb
The CQ bit was checked by kenrb@chromium.org
6 years, 6 months ago (2014-06-13 19:28:38 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kenrb@chromium.org/330283008/20001
6 years, 6 months ago (2014-06-13 19:28:54 UTC) #8
commit-bot: I haz the power
Change committed as 176130
6 years, 6 months ago (2014-06-13 20:36:09 UTC) #9
ojan
Yup. Updating the self painting layer bit here is correct. For in-process iframes we do ...
6 years, 6 months ago (2014-06-13 21:29:10 UTC) #10
kenrb
https://codereview.chromium.org/330283008/diff/20001/Source/web/WebLocalFrameImpl.cpp File Source/web/WebLocalFrameImpl.cpp (right): https://codereview.chromium.org/330283008/diff/20001/Source/web/WebLocalFrameImpl.cpp#newcode559 Source/web/WebLocalFrameImpl.cpp:559: frame()->ownerRenderer()->layer()->updateSelfPaintingLayer(); On 2014/06/13 21:29:09, ojan wrote: > Is the ...
6 years, 6 months ago (2014-06-16 15:43:38 UTC) #11
ojan
https://codereview.chromium.org/330283008/diff/20001/Source/web/WebLocalFrameImpl.cpp File Source/web/WebLocalFrameImpl.cpp (right): https://codereview.chromium.org/330283008/diff/20001/Source/web/WebLocalFrameImpl.cpp#newcode559 Source/web/WebLocalFrameImpl.cpp:559: frame()->ownerRenderer()->layer()->updateSelfPaintingLayer(); Yeah, I'm not sure. You could put in ...
6 years, 6 months ago (2014-06-17 16:42:11 UTC) #12
ojan
On 2014/06/17 at 16:42:11, ojan wrote: > https://codereview.chromium.org/330283008/diff/20001/Source/web/WebLocalFrameImpl.cpp > File Source/web/WebLocalFrameImpl.cpp (right): > > https://codereview.chromium.org/330283008/diff/20001/Source/web/WebLocalFrameImpl.cpp#newcode559 ...
6 years, 6 months ago (2014-06-17 16:43:17 UTC) #13
kenrb
6 years, 6 months ago (2014-06-17 16:44:14 UTC) #14
Message was sent while issue was closed.
On 2014/06/17 16:42:11, ojan wrote:
>
https://codereview.chromium.org/330283008/diff/20001/Source/web/WebLocalFrame...
> File Source/web/WebLocalFrameImpl.cpp (right):
> 
>
https://codereview.chromium.org/330283008/diff/20001/Source/web/WebLocalFrame...
> Source/web/WebLocalFrameImpl.cpp:559:
> frame()->ownerRenderer()->layer()->updateSelfPaintingLayer();
> Yeah, I'm not sure. You could put in an ASSERT(frame()->ownerRenderer()) and
see
> if any layout tests or webkit_unit_tests hit it.

I put up a CL to add an explicit check. We don't have good test coverage in this
area, but a race condition looks very plausible because this signal is coming
from another process. We could detach the Frame locally at the same time that
its content is rendering elsewhere.

Powered by Google App Engine
This is Rietveld 408576698