diff options
author | rlp@chromium.org <rlp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-12 06:41:38 +0000 |
---|---|---|
committer | rlp@chromium.org <rlp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-12 06:41:38 +0000 |
commit | efd7ab46d727bad8ca7cf08f83b16f0ada6d9375 (patch) | |
tree | c97135cfb169ae7ec2c772c69a5cbda3db6118cd /chrome/gpu/gpu_thread.cc | |
parent | eafe2e7b3164af96be59ff2e76bc90e9c113790b (diff) | |
download | chromium_src-efd7ab46d727bad8ca7cf08f83b16f0ada6d9375.zip chromium_src-efd7ab46d727bad8ca7cf08f83b16f0ada6d9375.tar.gz chromium_src-efd7ab46d727bad8ca7cf08f83b16f0ada6d9375.tar.bz2 |
Does not seem to be logging the gpu stats for any but the browser process. This line should actually set it for the gpu process.
BUG=58836
TEST=need to see the crash reports that come back
Review URL: http://codereview.chromium.org/3653004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62260 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/gpu/gpu_thread.cc')
-rw-r--r-- | chrome/gpu/gpu_thread.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/gpu/gpu_thread.cc b/chrome/gpu/gpu_thread.cc index cb2a89b..8c1059f 100644 --- a/chrome/gpu/gpu_thread.cc +++ b/chrome/gpu/gpu_thread.cc @@ -11,6 +11,7 @@ #include "base/command_line.h" #include "build/build_config.h" #include "chrome/common/child_process.h" +#include "chrome/common/child_process_logging.h" #include "chrome/common/gpu_info.h" #include "chrome/common/gpu_messages.h" #include "chrome/gpu/gpu_info_collector.h" @@ -106,6 +107,7 @@ void GpuThread::OnEstablishChannel(int renderer_id) { if (gfx::GLContext::InitializeOneOff()) { // Fail to establish channel if GPU stats cannot be retreived. if (gpu_info_collector::CollectGraphicsInfo(&gpu_info)) { + child_process_logging::SetGpuInfo(gpu_info); GpuChannelMap::const_iterator iter = gpu_channels_.find(renderer_id); if (iter == gpu_channels_.end()) { channel = new GpuChannel(renderer_id); |