Index: Source/bindings/v8/ExceptionState.cpp |
diff --git a/Source/bindings/v8/ExceptionState.cpp b/Source/bindings/v8/ExceptionState.cpp |
index ae086ac0e4404eb404b3f592e8d7644e75699d36..6d666b35f3ee4acaf5cc48f0361ed36ac0c9814e 100644 |
--- a/Source/bindings/v8/ExceptionState.cpp |
+++ b/Source/bindings/v8/ExceptionState.cpp |
@@ -51,14 +51,14 @@ void ExceptionState::throwDOMException(const ExceptionCode& ec, const String& me |
ASSERT(ec != SecurityError); |
m_code = ec; |
- setException(V8ThrowException::createDOMException(ec, message, m_isolate)); |
+ setException(V8ThrowException::createDOMException(ec, message, m_creationContext, m_isolate)); |
} |
void ExceptionState::throwSecurityError(const String& sanitizedMessage, const String& unsanitizedMessage) |
{ |
ASSERT(m_isolate); |
m_code = SecurityError; |
- setException(V8ThrowException::createDOMException(SecurityError, sanitizedMessage, unsanitizedMessage, m_isolate)); |
+ setException(V8ThrowException::createDOMException(SecurityError, sanitizedMessage, unsanitizedMessage, m_creationContext, m_isolate)); |
} |
void ExceptionState::setException(v8::Handle<v8::Value> exception) |