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

Issue 2731793002: DelegatedFrameHost should not allocate a new local surface id on frame eviction (Closed)

Created:
3 years, 9 months ago by Saman Sami
Modified:
3 years, 9 months ago
Reviewers:
Fady Samuel, jam, jbauman
CC:
chromium-reviews, jam, jbauman+watch_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, kalyank, danakj+watch_chromium.org, xjz+watch_chromium.org, miu+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Once we move local surface id allocation into the renderer process, DelegatedFrameHost can no longer create a new local surface id on frame eviction. This would normally break a few things but after https://codereview.chromium.org/2736053004/ we should be good. I tried testing this CL by setting the maximum number of saved frames to 1 so that each new tab causes the eviction of the previous tab and compared the current behaviour vs behaviour after this CL and did not notice any difference. Without https://codereview.chromium.org/2736053004/ if you switch tabs fast enough DCHECKs will fail in SurfaceManager for allocating a surface using a surface id that is already in use, but that CL fixes this issue. TBR=jam@chromium.org BUG=697864 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2731793002 Cr-Commit-Position: refs/heads/master@{#456180} Committed: https://chromium.googlesource.com/chromium/src/+/c43562c581991f1d9b843cb3cec873723a009c31

Patch Set 1 #

Patch Set 2 : Fixed #

Patch Set 3 : c #

Patch Set 4 : c #

Patch Set 5 : const #

Patch Set 6 : Fixed resize #

Patch Set 7 : c #

Patch Set 8 : c #

Patch Set 9 : c #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -23 lines) Patch
M content/browser/renderer_host/delegated_frame_host.h View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M content/browser/renderer_host/delegated_frame_host.cc View 1 2 3 4 5 6 11 chunks +15 lines, -16 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -4 lines 0 comments Download

Messages

Total messages: 86 (67 generated)
Saman Sami
PTAL
3 years, 9 months ago (2017-03-07 01:22:14 UTC) #18
jbauman
On 2017/03/07 01:22:14, Saman Sami wrote: > PTAL I'm surprised this doesn't cause a black ...
3 years, 9 months ago (2017-03-07 01:25:40 UTC) #19
Saman Sami
On 2017/03/07 01:25:40, jbauman wrote: > On 2017/03/07 01:22:14, Saman Sami wrote: > > PTAL ...
3 years, 9 months ago (2017-03-07 01:29:28 UTC) #20
Saman Sami
On 2017/03/07 01:29:28, Saman Sami wrote: > On 2017/03/07 01:25:40, jbauman wrote: > > On ...
3 years, 9 months ago (2017-03-07 02:04:31 UTC) #25
danakj
On 2017/03/07 02:04:31, Saman Sami wrote: > On 2017/03/07 01:29:28, Saman Sami wrote: > > ...
3 years, 9 months ago (2017-03-07 16:18:55 UTC) #41
Saman Sami
On 2017/03/07 16:18:55, danakj wrote: > On 2017/03/07 02:04:31, Saman Sami wrote: > > On ...
3 years, 9 months ago (2017-03-07 17:14:16 UTC) #42
danakj
On 2017/03/07 17:14:16, Saman Sami wrote: > On 2017/03/07 16:18:55, danakj wrote: > > On ...
3 years, 9 months ago (2017-03-07 17:15:25 UTC) #43
Saman Sami
On 2017/03/07 17:15:25, danakj wrote: > On 2017/03/07 17:14:16, Saman Sami wrote: > > On ...
3 years, 9 months ago (2017-03-08 01:08:25 UTC) #45
jbauman
On 2017/03/08 01:08:25, Saman Sami wrote: > On 2017/03/07 17:15:25, danakj wrote: > > On ...
3 years, 9 months ago (2017-03-08 01:18:05 UTC) #46
Fady Samuel
On 2017/03/08 01:18:05, jbauman wrote: > On 2017/03/08 01:08:25, Saman Sami wrote: > > On ...
3 years, 9 months ago (2017-03-08 01:46:03 UTC) #47
jbauman
On 2017/03/08 01:18:05, jbauman wrote: > On 2017/03/08 01:08:25, Saman Sami wrote: > > On ...
3 years, 9 months ago (2017-03-08 01:52:41 UTC) #48
jbauman
On 2017/03/08 01:46:03, Fady Samuel wrote: > On 2017/03/08 01:18:05, jbauman wrote: > > On ...
3 years, 9 months ago (2017-03-08 01:55:37 UTC) #49
Saman Sami
On 2017/03/08 01:55:37, jbauman wrote: > On 2017/03/08 01:46:03, Fady Samuel wrote: > > On ...
3 years, 9 months ago (2017-03-08 16:38:43 UTC) #56
Saman Sami
On 2017/03/08 16:38:43, Saman Sami wrote: > On 2017/03/08 01:55:37, jbauman wrote: > > On ...
3 years, 9 months ago (2017-03-08 16:39:37 UTC) #57
Fady Samuel
lgtm
3 years, 9 months ago (2017-03-10 02:10:01 UTC) #75
Saman Sami
jbauman@: After I landed my fix in SurfaceManager all the bots are green. Can you ...
3 years, 9 months ago (2017-03-10 02:24:15 UTC) #78
jbauman
lgtm
3 years, 9 months ago (2017-03-10 21:53:03 UTC) #79
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/2731793002/200001
3 years, 9 months ago (2017-03-10 21:55:15 UTC) #83
commit-bot: I haz the power
3 years, 9 months ago (2017-03-10 22:01:24 UTC) #86
Message was sent while issue was closed.
Committed patchset #9 (id:200001) as
https://chromium.googlesource.com/chromium/src/+/c43562c581991f1d9b843cb3cec8...

Powered by Google App Engine
This is Rietveld 408576698