Bug 205137

Summary: Remove unused Frame parameter from moveByGranularityRespectingWordBoundary() and take const VisiblePosition&
Product: WebKit Reporter: Daniel Bates <dbates>
Component: WebKit Misc.Assignee: Daniel Bates <dbates>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Daniel Bates
Reported 2019-12-11 14:30:14 PST
moveByGranularityRespectingWordBoundary() is passed a Frame&, which it does not use, and a non-const VisiblePosition to move from, which it does not mutate. Remove the unused Frame param and take the visible position as a const lvalue reference.
Attachments
Patch (3.03 KB, patch)
2019-12-11 14:32 PST, Daniel Bates
no flags
Daniel Bates
Comment 1 2019-12-11 14:32:29 PST
Daniel Bates
Comment 2 2019-12-11 15:45:30 PST
Comment on attachment 385440 [details] Patch Clearing flags on attachment: 385440 Committed r253400: <https://trac.webkit.org/changeset/253400>
Daniel Bates
Comment 3 2019-12-11 15:45:31 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 4 2019-12-11 15:46:38 PST
Note You need to log in before you can comment on or make changes to this bug.