Index: content/browser/gpu/gpu_process_host_ui_shim.cc |
diff --git a/content/browser/gpu/gpu_process_host_ui_shim.cc b/content/browser/gpu/gpu_process_host_ui_shim.cc |
index 0ec82f4b7cb572920649ee7fbaf839da01e5c7df..aacf72b28ddc8b5accd5e517b514991ea69ae583 100644 |
--- a/content/browser/gpu/gpu_process_host_ui_shim.cc |
+++ b/content/browser/gpu/gpu_process_host_ui_shim.cc |
@@ -166,6 +166,12 @@ void GpuProcessHostUIShim::SimulateHang() { |
Send(new GpuMsg_Hang()); |
} |
+#if defined(OS_ANDROID) |
+void GpuProcessHostUIShim::SimulateJavaCrash() { |
+ Send(new GpuMsg_JavaCrash()); |
+} |
+#endif |
+ |
GpuProcessHostUIShim::~GpuProcessHostUIShim() { |
DCHECK(CalledOnValidThread()); |
if (!close_callback_.is_null()) |