mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-05-31 22:49:06 +00:00
import changes from rmottola/Arctic-Fox:
- change some pointer style, or patches do not apply (0de8fac13) - Bug 1137523 - Unprefix most js_* functions. (16507a434)
This commit is contained in:
@@ -34,7 +34,7 @@ CheckLength(ExclusiveContext* cx, SourceBufferHolder& srcBuf)
|
||||
// is using size_t internally already.
|
||||
if (srcBuf.length() > UINT32_MAX) {
|
||||
if (cx->isJSContext())
|
||||
JS_ReportErrorNumber(cx->asJSContext(), js_GetErrorMessage, nullptr,
|
||||
JS_ReportErrorNumber(cx->asJSContext(), GetErrorMessage, nullptr,
|
||||
JSMSG_SOURCE_TOO_LONG);
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user