Move gpu-crashed event to app

This commit is contained in:
Cheng Zhao 2015-06-25 20:28:07 +08:00
parent 09c2317ae6
commit ffd9c743de
4 changed files with 14 additions and 12 deletions

View file

@ -328,11 +328,6 @@ void WebContents::PluginCrashed(const base::FilePath& plugin_path,
Emit("plugin-crashed", info.name, info.version);
}
void WebContents::OnGpuProcessCrashed(base::TerminationStatus exit_code) {
if (exit_code == base::TERMINATION_STATUS_PROCESS_CRASHED)
Emit("gpu-crashed");
}
void WebContents::DocumentLoadedInFrame(
content::RenderFrameHost* render_frame_host) {
if (!render_frame_host->GetParent())