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

Issue 2863003002: Use the WebContents visibility as the initial visibility when creating a swapped-out RenderView. (Closed)

Created:
3 years, 7 months ago by lfg
Modified:
3 years, 7 months ago
Reviewers:
nasko
CC:
chromium-reviews, jam, nasko+codewatch_chromium.org, darin-cc_chromium.org, creis+watch_chromium.org, site-isolation-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Use the WebContents visibility as the initial visibility when creating a swapped-out RenderView. This CL changes the RenderView creation to use the WebContents visibility when creating a swapped-out RenderView. This is important because the browser doesn't track changes to the visibility state of swapped-out RenderViewHosts, so the renderer can end up having the wrong visibility when recovering from a crash. BUG=717597, 718213 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2863003002 Cr-Commit-Position: refs/heads/master@{#470116} Committed: https://chromium.googlesource.com/chromium/src/+/b592bfa82d1cad4997766f751002f44ef37bd8a5

Patch Set 1 #

Total comments: 5

Patch Set 2 : address comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -3 lines) Patch
M content/browser/frame_host/render_frame_host_manager.cc View 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/site_per_process_browsertest.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (15 generated)
lfg
Nasko, can you take a look?
3 years, 7 months ago (2017-05-05 17:09:45 UTC) #9
nasko
https://codereview.chromium.org/2863003002/diff/1/content/browser/renderer_host/render_view_host_impl.cc File content/browser/renderer_host/render_view_host_impl.cc (right): https://codereview.chromium.org/2863003002/diff/1/content/browser/renderer_host/render_view_host_impl.cc#newcode313 content/browser/renderer_host/render_view_host_impl.cc:313: : GetWidget()->delegate()->IsHidden(); Wouldn't the value of GetWidget()->delegate()->IsHidden() always be ...
3 years, 7 months ago (2017-05-05 18:42:55 UTC) #10
lfg
https://codereview.chromium.org/2863003002/diff/1/content/browser/renderer_host/render_view_host_impl.cc File content/browser/renderer_host/render_view_host_impl.cc (right): https://codereview.chromium.org/2863003002/diff/1/content/browser/renderer_host/render_view_host_impl.cc#newcode313 content/browser/renderer_host/render_view_host_impl.cc:313: : GetWidget()->delegate()->IsHidden(); On 2017/05/05 18:42:55, nasko wrote: > Wouldn't ...
3 years, 7 months ago (2017-05-05 18:53:03 UTC) #11
nasko
LGTM https://codereview.chromium.org/2863003002/diff/1/content/browser/renderer_host/render_view_host_impl.cc File content/browser/renderer_host/render_view_host_impl.cc (right): https://codereview.chromium.org/2863003002/diff/1/content/browser/renderer_host/render_view_host_impl.cc#newcode313 content/browser/renderer_host/render_view_host_impl.cc:313: : GetWidget()->delegate()->IsHidden(); On 2017/05/05 18:53:02, lfg wrote: > ...
3 years, 7 months ago (2017-05-05 20:33:51 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2863003002/20001
3 years, 7 months ago (2017-05-05 20:39:23 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/287209)
3 years, 7 months ago (2017-05-05 23:51:45 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2863003002/20001
3 years, 7 months ago (2017-05-08 16:33:25 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/builds/209683)
3 years, 7 months ago (2017-05-08 16:53:18 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2863003002/20001
3 years, 7 months ago (2017-05-08 20:37:29 UTC) #22
commit-bot: I haz the power
3 years, 7 months ago (2017-05-08 20:47:14 UTC) #25
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/b592bfa82d1cad4997766f751002...

Powered by Google App Engine
This is Rietveld 408576698