Index: Source/bindings/core/v8/NPV8Object.cpp |
diff --git a/Source/bindings/core/v8/NPV8Object.cpp b/Source/bindings/core/v8/NPV8Object.cpp |
index 36593b4f5bf92f19cc8f400bfd12b40bf81491ef..152b37aaf5fff167f2c7f7ea74994d0a1c219efe 100644 |
--- a/Source/bindings/core/v8/NPV8Object.cpp |
+++ b/Source/bindings/core/v8/NPV8Object.cpp |
@@ -511,7 +511,7 @@ void _NPN_SetException(NPObject* npObject, const NPUTF8 *message) |
if (!npObject || !npObjectToV8NPObject(npObject)) { |
// We won't be able to find a proper scope for this exception, so just throw it. |
// This is consistent with JSC, which throws a global exception all the time. |
- V8ThrowException::throwGeneralError(message, v8::Isolate::GetCurrent()); |
+ V8ThrowException::throwGeneralError(v8::Isolate::GetCurrent(), message); |
return; |
} |
@@ -523,7 +523,7 @@ void _NPN_SetException(NPObject* npObject, const NPUTF8 *message) |
ScriptState::Scope scope(scriptState); |
ExceptionCatcher exceptionCatcher; |
- V8ThrowException::throwGeneralError(message, isolate); |
+ V8ThrowException::throwGeneralError(isolate, message); |
} |
bool _NPN_Enumerate(NPP npp, NPObject* npObject, NPIdentifier** identifier, uint32_t* count) |