| Index: ios/web/web_state/js/resources/common.js
|
| diff --git a/ios/web/web_state/js/resources/common.js b/ios/web/web_state/js/resources/common.js
|
| index fd60f2b2f223995aaa19142e675a37e4b2c22279..56adb250ff7019be9cc1ec763fcc2b014c187381 100644
|
| --- a/ios/web/web_state/js/resources/common.js
|
| +++ b/ios/web/web_state/js/resources/common.js
|
| @@ -37,7 +37,7 @@ __gCrWeb['common'] = __gCrWeb.common;
|
| /**
|
| * Protect against custom implementation of Object.toJSON in host pages.
|
| */
|
| - __gCrWeb.common.JSONSafeObject.prototype.toJSON = null;
|
| + __gCrWeb.common.JSONSafeObject.prototype['toJSON'] = null;
|
|
|
| /**
|
| * Retain the original JSON.stringify method where possible to reduce the
|
|
|