Make SpellChecker::markAllMisspellingsAndBadGrammarInRanges() to take EphemeralRange
This patch changes |markAllMisspellingsAndBadGrammarInRanges()| member function of |SpellChecker| class to take |EphemeralRange| instead of |Range| to avoid registering temporary |Range| object into |Document|. This patch is also a preparation of making selection to handle granularity for web component, http://crrev.com/1277863002 to reduce DOM position dependency from |VisibleSelection| for ease of templatization of |VisibleSelection|. BUG=388681, 513568 TEST=n/a; no behavior changes Review URL: https://codereview.chromium.org/1313863002 git-svn-id: svn://svn.chromium.org/blink/trunk@201117 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment