Bug 47865

Summary: Remove VisiblePosition from RenderTextControl
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Critical CC: adele, darin, eric, jamesr, leviw, simon.fraser, tkent
Priority: P1    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on: 47870, 64118, 64133, 64134    
Bug Blocks:    

Ryosuke Niwa
Reported 2010-10-18 17:39:12 PDT
RenderTextControl currently has many functions that instantiate VisiblePosition but this may cause layout and destroy the RenderTextControl itself. We must remove this dependency as soon as possible.
Attachments
Ryosuke Niwa
Comment 1 2011-07-13 00:53:14 PDT
Now, the only member function of RenderTextControl that uses VisiblePosition is visiblePositionForIndex, which is inherited from RenderObject. Since removing visiblePositionForIndex from RenderTextControl requires removing it from RenderObject, I consider this to be beyond the scope of this bug.
Note You need to log in before you can comment on or make changes to this bug.