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

Issue 2514153002: content: Remove some unused code. (Closed)

Created:
4 years, 1 month ago by sadrul
Modified:
4 years ago
Reviewers:
reveman, piman
CC:
chromium-reviews, darin-cc_chromium.org, Fady Samuel, jam
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

content: Remove some unused code. . ChildGpuMemoryBufferManager is used only by renderer child processes (only RenderThreadImpl creates and uses it). So remove the code in the browser process that handles messages from it for non-renderer processes. . RenderMessageFilter::gpu_process_id_ is used in only one place: it is used to find the associated GpuProcessHost. However, if it does not exist anymore, then the code simply creates a new GpuProcessHost instance and uses that. The code can just use GpuProcessHost::Get() instead, which returns the existing sandboxed gpu process if it exists, and creates a new one otherwise. So using |gpu_process_id_| is not actually necessary. BUG=643746 Committed: https://crrev.com/5196acbe6971a34399bd56a0e5fe801652b2346d Cr-Commit-Position: refs/heads/master@{#434085}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -53 lines) Patch
M content/browser/renderer_host/render_message_filter.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_message_filter.cc View 2 chunks +5 lines, -10 lines 0 comments Download
M content/common/child_process_host_impl.h View 2 chunks +0 lines, -9 lines 0 comments Download
M content/common/child_process_host_impl.cc View 3 chunks +0 lines, -33 lines 0 comments Download

Messages

Total messages: 22 (11 generated)
sadrul
4 years, 1 month ago (2016-11-19 01:22:15 UTC) #4
piman
+reveman for the ChildProcessHostImpl changes. I'm not sure if we want to remove it, if ...
4 years, 1 month ago (2016-11-22 00:52:25 UTC) #9
sadrul
On 2016/11/22 00:52:25, piman wrote: > +reveman for the ChildProcessHostImpl changes. I'm not sure if ...
4 years, 1 month ago (2016-11-22 01:34:02 UTC) #10
piman
On Mon, Nov 21, 2016 at 5:34 PM, <sadrul@chromium.org> wrote: > On 2016/11/22 00:52:25, piman ...
4 years, 1 month ago (2016-11-22 01:51:18 UTC) #11
sadrul
On 2016/11/22 01:51:18, piman wrote: > On Mon, Nov 21, 2016 at 5:34 PM, <mailto:sadrul@chromium.org> ...
4 years, 1 month ago (2016-11-22 01:59:46 UTC) #12
reveman
ChildProcessHostImpl changes lgtm as long as the new mojo allocation can easily be extended to ...
4 years, 1 month ago (2016-11-22 09:11:01 UTC) #13
sadrul
On 2016/11/22 09:11:01, reveman wrote: > ChildProcessHostImpl changes lgtm as long as the new mojo ...
4 years, 1 month ago (2016-11-22 19:49:00 UTC) #14
piman
lgtm
4 years ago (2016-11-22 22:54:44 UTC) #15
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/2514153002/1
4 years ago (2016-11-22 23:24:53 UTC) #17
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-11-23 02:28:12 UTC) #20
commit-bot: I haz the power
4 years ago (2016-11-23 02:30:39 UTC) #22
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/5196acbe6971a34399bd56a0e5fe801652b2346d
Cr-Commit-Position: refs/heads/master@{#434085}

Powered by Google App Engine
This is Rietveld 408576698