Do not create a temporary Range object on updating spell checking markers.

As these markers are conditionally updated on every edit operation,
avoid creating a temporary Range object when doing so. With Oilpan
enabled, this avoids creating a GCed object that is only delay'edly
released.

Improves Oilpan performance on blink_perf.dom.textarea-edit by 10%.

R=haraken
BUG=388681

Review URL: https://codereview.chromium.org/828293002

git-svn-id: svn://svn.chromium.org/blink/trunk@187820 bbb929c8-8fbe-4397-9dbb-9b2b20218538
1 file changed
tree: 7bc55934352bdcc7bb3f902180966afce73e5542
  1. third_party/