| Index: chrome/renderer/resources/extensions/send_request.js
|
| diff --git a/chrome/renderer/resources/extensions/send_request.js b/chrome/renderer/resources/extensions/send_request.js
|
| index 1d7231f22a0ca09793ea31f9854a6b4d9abf3b6d..9b474a3aa8d7e01b185d6c1e34fb1884476ff6d3 100644
|
| --- a/chrome/renderer/resources/extensions/send_request.js
|
| +++ b/chrome/renderer/resources/extensions/send_request.js
|
| @@ -85,6 +85,7 @@ function prepareRequest(args, argSchemas) {
|
| // StartRequest if missing.
|
| // - forIOThread: true if this function should be handled on the browser IO
|
| // thread.
|
| +// - preserveNullInObjects: true if it is safe for null to be in objects.
|
| function sendRequest(functionName, args, argSchemas, opt_args) {
|
| if (!opt_args)
|
| opt_args = {};
|
| @@ -111,7 +112,7 @@ function sendRequest(functionName, args, argSchemas, opt_args) {
|
| var hasCallback =
|
| (request.callback || opt_args.customCallback) ? true : false;
|
| return nativeFunction(functionName, requestArgs, requestId, hasCallback,
|
| - opt_args.forIOThread);
|
| + opt_args.forIOThread, opt_args.preserveNullInObjects);
|
| }
|
|
|
| exports.sendRequest = sendRequest;
|
|
|