summaryrefslogtreecommitdiffstats
path: root/chrome/worker/webworker_stub.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/worker/webworker_stub.cc')
-rw-r--r--chrome/worker/webworker_stub.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/worker/webworker_stub.cc b/chrome/worker/webworker_stub.cc
index 33a9b60..142adcf 100644
--- a/chrome/worker/webworker_stub.cc
+++ b/chrome/worker/webworker_stub.cc
@@ -48,6 +48,10 @@ WebWorkerStub::~WebWorkerStub() {
impl_->clientDestroyed();
}
+void WebWorkerStub::OnChannelError() {
+ OnTerminateWorkerContext();
+}
+
void WebWorkerStub::OnMessageReceived(const IPC::Message& message) {
if (!impl_)
return;