Index: content/browser/frame_host/debug_urls.cc |
diff --git a/content/browser/frame_host/debug_urls.cc b/content/browser/frame_host/debug_urls.cc |
index dd86fca4c47aed6d5979ccc0f3625a8afeef5007..22e0a15c80d0a703a4c842b76a8bd0af799ac06a 100644 |
--- a/content/browser/frame_host/debug_urls.cc |
+++ b/content/browser/frame_host/debug_urls.cc |
@@ -180,6 +180,15 @@ bool HandleDebugURL(const GURL& url, ui::PageTransition transition) { |
return true; |
} |
+#if defined(OS_ANDROID) |
+ if (url == kChromeUIGpuJavaCrashURL) { |
+ GpuProcessHostUIShim* shim = GpuProcessHostUIShim::GetOneInstance(); |
+ if (shim) |
+ shim->SimulateJavaCrash(); |
+ return true; |
+ } |
+#endif |
+ |
if (url == kChromeUIGpuHangURL) { |
GpuProcessHostUIShim* shim = GpuProcessHostUIShim::GetOneInstance(); |
if (shim) |