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

Issue 2750623002: Avoid unnecessary LocalSurfaceId allocation in RenderWidgetHostViewChildFrame/Guest (Closed)

Created:
3 years, 9 months ago by Saman Sami
Modified:
3 years, 9 months ago
Reviewers:
piman
CC:
chromium-reviews, jam, nasko+codewatch_chromium.org, darin-cc_chromium.org, creis+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Since we are moving local surface id allocation to the renderer process, frame eviction which is done by the browser process should not change the local surface id. Also, RenderWidgetHostViewGuest should not create a new local surface id when guest->has_attached_since_surface_set() is true. BUG=697864 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2750623002 Cr-Commit-Position: refs/heads/master@{#456472} Committed: https://chromium.googlesource.com/chromium/src/+/88f2781989652da5ac0ad9351353a46559224040

Patch Set 1 #

Patch Set 2 : c #

Patch Set 3 : Added test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -71 lines) Patch
M content/browser/frame_host/render_widget_host_view_child_frame.h View 4 chunks +6 lines, -3 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.cc View 1 5 chunks +26 lines, -28 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame_unittest.cc View 1 2 2 chunks +37 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest.h View 2 chunks +3 lines, -4 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest.cc View 2 chunks +4 lines, -8 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest_unittest.cc View 1 2 chunks +31 lines, -28 lines 0 comments Download

Messages

Total messages: 26 (20 generated)
Saman Sami
PTAL
3 years, 9 months ago (2017-03-13 17:46:52 UTC) #12
piman
LGTM. Would it make sense to add a test for the new behavior (something like: ...
3 years, 9 months ago (2017-03-13 17:51:42 UTC) #13
Saman Sami
On 2017/03/13 17:51:42, piman wrote: > LGTM. Would it make sense to add a test ...
3 years, 9 months ago (2017-03-13 18:40:02 UTC) #18
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/2750623002/40001
3 years, 9 months ago (2017-03-13 18:41:52 UTC) #22
piman
LGTM, thanks for the test!
3 years, 9 months ago (2017-03-13 19:18:22 UTC) #23
commit-bot: I haz the power
3 years, 9 months ago (2017-03-13 20:43:52 UTC) #26
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/88f2781989652da5ac0ad9351353...

Powered by Google App Engine
This is Rietveld 408576698