2009-07-21 Jian Li <jianli@chromium.org>
[WebKit-https.git] / WebCore / bindings / js / JSWorkerContextCustom.cpp
index 06475f9..440bb7a 100644 (file)
@@ -58,6 +58,7 @@ void JSWorkerContext::mark()
     markDOMObjectWrapper(globalData, impl()->optionalLocation());
     markDOMObjectWrapper(globalData, impl()->optionalNavigator());
 
+    markIfNotNull(impl()->onerror());
     markIfNotNull(impl()->onmessage());
 
     typedef WorkerContext::EventListenersMap EventListenersMap;