Index: Source/bindings/v8/WorkerScriptController.h |
diff --git a/Source/bindings/v8/WorkerScriptController.h b/Source/bindings/v8/WorkerScriptController.h |
index 23ea6d57e69be89a11fd2d2d961af6d49641fff2..40b03dff593a7b4a4f8923aa61be8e04ab8f7596 100644 |
--- a/Source/bindings/v8/WorkerScriptController.h |
+++ b/Source/bindings/v8/WorkerScriptController.h |
@@ -68,9 +68,9 @@ namespace WebCore { |
WorkerGlobalScope& workerGlobalScope() { return m_workerGlobalScope; } |
- void evaluate(const ScriptSourceCode&, RefPtr<ErrorEvent>* = 0); |
+ void evaluate(const ScriptSourceCode&, RefPtrWillBeRawPtr<ErrorEvent>* = 0); |
- void rethrowExceptionFromImportedScript(PassRefPtr<ErrorEvent>); |
+ void rethrowExceptionFromImportedScript(PassRefPtrWillBeRawPtr<ErrorEvent>); |
// Async request to terminate a future JS execution. Eventually causes termination |
// exception raised during JS execution, if the worker thread happens to run JS. |
@@ -111,7 +111,7 @@ namespace WebCore { |
bool m_executionForbidden; |
bool m_executionScheduledToTerminate; |
mutable Mutex m_scheduledTerminationMutex; |
- RefPtr<ErrorEvent> m_errorEventFromImportedScript; |
+ RefPtrWillBePersistent<ErrorEvent> m_errorEventFromImportedScript; |
OwnPtr<V8IsolateInterruptor> m_interruptor; |
}; |