Bug 906940 - Exactly root the IsAcceptableThis callback; r=jonco,smaug

This commit is contained in:
Terrence Cole
2013-05-28 11:23:04 -07:00
parent 8fed0e0368
commit b3904f1033
17 changed files with 51 additions and 42 deletions

View File

@@ -1386,7 +1386,7 @@ DateObject::cachedLocalTime(DateTimeInfo *dtInfo)
}
JS_ALWAYS_INLINE bool
IsDate(const Value &v)
IsDate(HandleValue v)
{
return v.isObject() && v.toObject().is<DateObject>();
}