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

Issue 2302523002: Changes GpuServiceInternal from StrongBinding to Binding (Closed)

Created:
4 years, 3 months ago by sky
Modified:
4 years, 3 months ago
Reviewers:
Fady Samuel, sadrul
CC:
chromium-reviews, rjkroege, piman+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Changes GpuServiceInternal from Binding to BindingSet StrongBinding means GpuServiceInternal is deleted when the pipe is closed, defeating the singleton nature. By converting to Binding when the pipe is closed GpuServiceInternal is not deleted. BUG=none TEST=none R=sadrul@chromium.org Committed: https://crrev.com/b36c0cb25026b014ab7e9aded3382e41b8a0f4cd Cr-Commit-Position: refs/heads/master@{#415763}

Patch Set 1 #

Total comments: 1

Patch Set 2 : binding #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -2 lines) Patch
M services/ui/gpu/gpu_service_internal.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M services/ui/gpu/gpu_service_internal.cc View 1 1 chunk +1 line, -0 lines 1 comment Download

Messages

Total messages: 18 (8 generated)
sky
4 years, 3 months ago (2016-08-31 18:14:40 UTC) #1
Fady Samuel
I think not lgtm. GpuServiceInternal has only one client, the window server.
4 years, 3 months ago (2016-08-31 18:17:50 UTC) #3
sadrul
Yeah, I ran into StrongBinding<> causing issues last night, and changed to mojo::Binding instead (https://codereview.chromium.org/2289553002/). ...
4 years, 3 months ago (2016-08-31 18:53:15 UTC) #4
sky
Converted to Binding (and updated description). Take another look?
4 years, 3 months ago (2016-08-31 19:10:04 UTC) #6
Fady Samuel
lgtm if sadrul is happy
4 years, 3 months ago (2016-08-31 19:10:48 UTC) #7
sadrul
lgtm https://codereview.chromium.org/2302523002/diff/20001/services/ui/gpu/gpu_service_internal.cc File services/ui/gpu/gpu_service_internal.cc (right): https://codereview.chromium.org/2302523002/diff/20001/services/ui/gpu/gpu_service_internal.cc#newcode66 services/ui/gpu/gpu_service_internal.cc:66: binding_.Close(); I seem to remember someone mentioning explicit ...
4 years, 3 months ago (2016-08-31 19:12:32 UTC) #10
sky
On 2016/08/31 19:12:32, sadrul wrote: > lgtm > > https://codereview.chromium.org/2302523002/diff/20001/services/ui/gpu/gpu_service_internal.cc > File services/ui/gpu/gpu_service_internal.cc (right): > ...
4 years, 3 months ago (2016-08-31 19:34:28 UTC) #11
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/2302523002/20001
4 years, 3 months ago (2016-08-31 19:34:53 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-08-31 21:35:49 UTC) #16
commit-bot: I haz the power
4 years, 3 months ago (2016-08-31 21:37:54 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/b36c0cb25026b014ab7e9aded3382e41b8a0f4cd
Cr-Commit-Position: refs/heads/master@{#415763}

Powered by Google App Engine
This is Rietveld 408576698