summaryrefslogtreecommitdiffstats
path: root/content/gpu
diff options
context:
space:
mode:
authornduca@chromium.org <nduca@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-22 16:53:30 +0000
committernduca@chromium.org <nduca@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-22 16:53:30 +0000
commit602cf9fda524a12ffff46bf14a749535df136d5d (patch)
treeef474be9ad56dce5ae0253a298ec535eaa9fe728 /content/gpu
parent83bae9b92cffe4f2a9ea2805dae8ab3dde1aa62e (diff)
downloadchromium_src-602cf9fda524a12ffff46bf14a749535df136d5d.zip
chromium_src-602cf9fda524a12ffff46bf14a749535df136d5d.tar.gz
chromium_src-602cf9fda524a12ffff46bf14a749535df136d5d.tar.bz2
Fix diagnostics and log messages in about:gpu.
BUG=78189 Review URL: http://codereview.chromium.org/6877028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82662 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/gpu')
-rw-r--r--content/gpu/gpu_child_thread.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/content/gpu/gpu_child_thread.cc b/content/gpu/gpu_child_thread.cc
index 1a04e1b..e5bf6d6 100644
--- a/content/gpu/gpu_child_thread.cc
+++ b/content/gpu/gpu_child_thread.cc
@@ -115,6 +115,8 @@ bool GpuChildThread::OnControlMessageReceived(const IPC::Message& msg) {
}
void GpuChildThread::OnInitialize() {
+ logging::SetLogMessageHandler(GpuProcessLogMessageHandler);
+
// Load the GL implementation and locate the bindings before starting the GPU
// watchdog because this can take a lot of time and the GPU watchdog might
// terminate the GPU process.