Index: Source/bindings/core/v8/ExceptionState.cpp |
diff --git a/Source/bindings/core/v8/ExceptionState.cpp b/Source/bindings/core/v8/ExceptionState.cpp |
index 775ea8779e23799630d2209d73c44678d341e01a..31d3777240ffed74f0553c6da041ef7be9184b8d 100644 |
--- a/Source/bindings/core/v8/ExceptionState.cpp |
+++ b/Source/bindings/core/v8/ExceptionState.cpp |
@@ -62,7 +62,7 @@ void ExceptionState::throwDOMException(const ExceptionCode& ec, const String& me |
m_code = ec; |
String processedMessage = addExceptionContext(message); |
m_message = processedMessage; |
- setException(V8ThrowException::createDOMException(ec, processedMessage, m_creationContext, m_isolate)); |
+ setException(V8ThrowException::createDOMException(m_isolate, ec, processedMessage, m_creationContext)); |
} |
void ExceptionState::throwSecurityError(const String& sanitizedMessage, const String& unsanitizedMessage) |
@@ -74,7 +74,7 @@ void ExceptionState::throwSecurityError(const String& sanitizedMessage, const St |
m_message = finalSanitized; |
String finalUnsanitized = addExceptionContext(unsanitizedMessage); |
- setException(V8ThrowException::createDOMException(SecurityError, finalSanitized, finalUnsanitized, m_creationContext, m_isolate)); |
+ setException(V8ThrowException::createDOMException(m_isolate, SecurityError, finalSanitized, finalUnsanitized, m_creationContext)); |
} |
void ExceptionState::setException(v8::Handle<v8::Value> exception) |