Descriptiongpu:: Remove GpuDataManagerObserver::OnVideoMemoryUsageStatsUpdate().
TaskManagerImpl is the only observer which requires this callback. In
order to get the video memory usage, TaskManagerImpl installs itself as
an observer, makes the request through GpuDataManager, and waits for the
observer callback to be called. Instead, change this so the request to
GpuDataManager::RequestVideoMemoryUsageStatsUpdate() includes the
callback that needs to run when the stats become available.
BUG=709332
Review-Url: https://codereview.chromium.org/2827323002
Cr-Commit-Position: refs/heads/master@{#466341}
Committed: https://chromium.googlesource.com/chromium/src/+/f2c71b4cd910cd4d3d4d3fe7091c992bb881e3f9
Patch Set 1 #Patch Set 2 : comment #
Total comments: 2
Patch Set 3 : . #Messages
Total messages: 23 (15 generated)
|