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

Issue 2968053002: mus-gpu: Fix handling channel establish requests. (Closed)

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

Description

mus-gpu: Fix handling channel establish requests. A couple of changes: . If a request for establishing a gpu channel is made from the callback of a failed previous request, then make sure the request is processed correctly. Without this fix, |ui::Gpu::establish_callbacks_| is changed while iterating over it, causing errors. . If a request for a gpu channel was successful, then the subsequent requests should be responded synchronously. This is the current behaviour of BrowserGpuChannelHostFactory. BUG=609316 Review-Url: https://codereview.chromium.org/2968053002 Cr-Commit-Position: refs/heads/master@{#484664} Committed: https://chromium.googlesource.com/chromium/src/+/519814bd8b4235d2f1702ebdc306a16c5b03707f

Patch Set 1 #

Patch Set 2 : . #

Total comments: 2

Patch Set 3 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -5 lines) Patch
M services/ui/public/cpp/gpu/gpu.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download
M services/ui/public/cpp/tests/gpu_unittest.cc View 1 2 2 chunks +63 lines, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 19 (13 generated)
sadrul
(for reference, the corresponding browser-test for the synchronous-response is at https://cs.chromium.org/chromium/src/content/browser/gpu/gpu_ipc_browsertests.cc?l=196)
3 years, 5 months ago (2017-07-05 22:02:16 UTC) #7
piman
LGTM, but see nit for a good useful check we could have https://codereview.chromium.org/2968053002/diff/20001/services/ui/public/cpp/tests/gpu_unittest.cc File services/ui/public/cpp/tests/gpu_unittest.cc ...
3 years, 5 months ago (2017-07-05 22:16:40 UTC) #8
sadrul
Mind taking another look at the updated test (because I am not totally sure if ...
3 years, 5 months ago (2017-07-05 22:59:56 UTC) #11
piman
LGTM, thanks, that's what I was looking for!
3 years, 5 months ago (2017-07-06 17:14:17 UTC) #14
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/2968053002/40001
3 years, 5 months ago (2017-07-06 17:51:24 UTC) #16
commit-bot: I haz the power
3 years, 5 months ago (2017-07-06 17:58:48 UTC) #19
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/519814bd8b4235d2f1702ebdc306...

Powered by Google App Engine
This is Rietveld 408576698