Index: Source/core/testing/Internals.cpp |
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
index 503371fd697477551f047465c1ea96ee8aefbda6..3a66ea25ed797a55370d1f140493c352c281df6b 100644 |
--- a/Source/core/testing/Internals.cpp |
+++ b/Source/core/testing/Internals.cpp |
@@ -299,7 +299,7 @@ GCObservation* Internals::observeGC(ScriptValue scriptValue) |
v8::Handle<v8::Value> observedValue = scriptValue.v8Value(); |
ASSERT(!observedValue.IsEmpty()); |
if (observedValue->IsNull() || observedValue->IsUndefined()) { |
- V8ThrowException::throwTypeError("value to observe is null or undefined", v8::Isolate::GetCurrent()); |
+ V8ThrowException::throwTypeError(v8::Isolate::GetCurrent(), "value to observe is null or undefined"); |
return nullptr; |
} |