Make WebSubstringUtil to use EphemeralRange instead of Range
This patch changes |WebSubstringUtil| class to use |EphemeralRange| instead of |Range| object to avoid registering temporary |Range| object into |Document| for Oilpan friendly. 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/1311373002 git-svn-id: svn://svn.chromium.org/blink/trunk@201120 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment