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

Description Daniel Bates 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.
Comment 1 Daniel Bates 2019-12-11 14:32:29 PST
Created attachment 385440 [details]
Patch
Comment 2 Daniel Bates 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>
Comment 3 Daniel Bates 2019-12-11 15:45:31 PST
All reviewed patches have been landed.  Closing bug.
Comment 4 Radar WebKit Bug Importer 2019-12-11 15:46:38 PST
<rdar://problem/57857274>