Right now, isNodeInTextFormControl takes Node* but this results in various editing code calling this function with deprecatedNode. Also, there are many places where we'd like to obtain the enclosing text form control. We can cleanup these code by introducing enclosingTextFormControl(const Position&) that replaces isNodeInTextFormControl(Node*).
Created attachment 99207 [details] cleanup
Comment on attachment 99207 [details] cleanup Looks good cleanup.
Comment on attachment 99207 [details] cleanup Clearing flags on attachment: 99207 Committed r90098: <http://trac.webkit.org/changeset/90098>
All reviewed patches have been landed. Closing bug.