summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gpu_process_host.cc
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-23 23:06:49 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-23 23:06:49 +0000
commitdd576af62d44b9aaaefedbfe78822f6c83e4f310 (patch)
tree204f6827182bb0ec4c37b8bf93ef0a96879fc43a /chrome/browser/gpu_process_host.cc
parent1cea23942dddeeb854a0f8120812e87b5c962d34 (diff)
downloadchromium_src-dd576af62d44b9aaaefedbfe78822f6c83e4f310.zip
chromium_src-dd576af62d44b9aaaefedbfe78822f6c83e4f310.tar.gz
chromium_src-dd576af62d44b9aaaefedbfe78822f6c83e4f310.tar.bz2
Add about:gpuhang
BUG=None TEST=None Review URL: http://codereview.chromium.org/3447023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60373 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gpu_process_host.cc')
-rw-r--r--chrome/browser/gpu_process_host.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/gpu_process_host.cc b/chrome/browser/gpu_process_host.cc
index f2bba1f..f4c6164 100644
--- a/chrome/browser/gpu_process_host.cc
+++ b/chrome/browser/gpu_process_host.cc
@@ -127,6 +127,11 @@ void GpuProcessHost::SendAboutGpuCrash() {
Get()->Send(new GpuMsg_Crash());
}
+// static
+void GpuProcessHost::SendAboutGpuHang() {
+ Get()->Send(new GpuMsg_Hang());
+}
+
bool GpuProcessHost::Send(IPC::Message* msg) {
if (!EnsureInitialized())
return false;