summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/renderer_webkitclient_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/renderer_webkitclient_impl.cc')
-rw-r--r--chrome/renderer/renderer_webkitclient_impl.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/renderer/renderer_webkitclient_impl.cc b/chrome/renderer/renderer_webkitclient_impl.cc
index 3a02adb..78f3c22 100644
--- a/chrome/renderer/renderer_webkitclient_impl.cc
+++ b/chrome/renderer/renderer_webkitclient_impl.cc
@@ -77,6 +77,12 @@ WebString RendererWebKitClientImpl::defaultLocale() {
return WideToUTF16(webkit_glue::GetWebKitLocale());
}
+void RendererWebKitClientImpl::suddenTerminationChanged(bool enabled) {
+ RenderThread* thread = RenderThread::current();
+ if (thread) // NULL in unittests.
+ thread->Send(new ViewHostMsg_SuddenTerminationChanged(enabled));
+}
+
//------------------------------------------------------------------------------
WebString RendererWebKitClientImpl::MimeRegistry::mimeTypeForExtension(