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

Issue 2909483004: gpu: GpuProcessHost does not need to remember the GPUInfo. (Closed)

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

Description

gpu: GpuProcessHost does not need to remember the GPUInfo. Remove GpuProcessHost::gpu_info_, since it is used only one place, and it is possible to get that information directly from GpuDataManagerImpl. Also, it was possible for GpuProcessHost::gpu_info_ to be different from the GPUInfo the rest of the systems see through GpuDataManager[Impl]. So remove it instead, and have a single source for the GPUInfo. BUG=none Review-Url: https://codereview.chromium.org/2909483004 Cr-Commit-Position: refs/heads/master@{#475316} Committed: https://chromium.googlesource.com/chromium/src/+/2da4c09d784da8f90c2e41418e92533abb9f5612

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -10 lines) Patch
M content/browser/gpu/gpu_process_host.h View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M content/browser/gpu/gpu_process_host.cc View 1 2 3 chunks +4 lines, -6 lines 0 comments Download

Messages

Total messages: 22 (18 generated)
sadrul
3 years, 7 months ago (2017-05-26 21:43:14 UTC) #16
piman
LGTM I guess. I'm always reluctant to use GpuDataManagerImpl(Private) as a source of truth because ...
3 years, 7 months ago (2017-05-26 22:08:05 UTC) #17
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/2909483004/40001
3 years, 6 months ago (2017-05-29 08:07:10 UTC) #19
commit-bot: I haz the power
3 years, 6 months ago (2017-05-29 09:04:28 UTC) #22
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/2da4c09d784da8f90c2e41418e92...

Powered by Google App Engine
This is Rietveld 408576698