c2a879e41d
The existing usage will no longer work as expected once the security measures to prevent native Object prototype pollution are enabled. The recommended replacements are `Object.getPrototypeOf()` and `Object.setPrototypeOf()`. Change-Id: I0617233bd31ccd2afc9f94c527eecb31c5f1b340 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/330047 Reviewed-by: Srujan Gaddam <srujzs@google.com> Commit-Queue: Nicholas Shahan <nshahan@google.com>