Chromium Code Reviews| Index: Source/core/dom/ExecutionContext.cpp |
| diff --git a/Source/core/dom/ExecutionContext.cpp b/Source/core/dom/ExecutionContext.cpp |
| index f129d4191e6e845cdfd715e974857ef168b18042..ace306e8109c8ba69d4e8137d2550dc984acf251 100644 |
| --- a/Source/core/dom/ExecutionContext.cpp |
| +++ b/Source/core/dom/ExecutionContext.cpp |
| @@ -44,7 +44,7 @@ namespace WebCore { |
| class ExecutionContext::PendingException { |
|
haraken
2014/06/11 06:27:36
I guess it's easy to move PendingException to the
keishi
2014/06/11 14:40:55
Done.
|
| WTF_MAKE_NONCOPYABLE(PendingException); |
| public: |
| - PendingException(const String& errorMessage, int lineNumber, int columnNumber, const String& sourceURL, PassRefPtr<ScriptCallStack> callStack) |
| + PendingException(const String& errorMessage, int lineNumber, int columnNumber, const String& sourceURL, PassRefPtrWillBeRawPtr<ScriptCallStack> callStack) |
| : m_errorMessage(errorMessage) |
| , m_lineNumber(lineNumber) |
| , m_columnNumber(columnNumber) |
| @@ -56,7 +56,7 @@ public: |
| int m_lineNumber; |
| int m_columnNumber; |
| String m_sourceURL; |
| - RefPtr<ScriptCallStack> m_callStack; |
| + RefPtrWillBePersistent<ScriptCallStack> m_callStack; |
| }; |
| ExecutionContext::ExecutionContext() |
| @@ -128,7 +128,7 @@ bool ExecutionContext::shouldSanitizeScriptError(const String& sourceURL, Access |
| return !(securityOrigin()->canRequest(completeURL(sourceURL)) || corsStatus == SharableCrossOrigin); |
| } |
| -void ExecutionContext::reportException(PassRefPtrWillBeRawPtr<ErrorEvent> event, PassRefPtr<ScriptCallStack> callStack, AccessControlStatus corsStatus) |
| +void ExecutionContext::reportException(PassRefPtrWillBeRawPtr<ErrorEvent> event, PassRefPtrWillBeRawPtr<ScriptCallStack> callStack, AccessControlStatus corsStatus) |
| { |
| RefPtrWillBeRawPtr<ErrorEvent> errorEvent = event; |
| if (m_inDispatchErrorEvent) { |