Bug 128481 - Cleanup the interface of FrameSelection
Summary: Cleanup the interface of FrameSelection
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryosuke Niwa
URL:
Keywords:
Depends on:
Blocks: 127832
  Show dependency treegraph
 
Reported: 2014-02-08 19:08 PST by Ryosuke Niwa
Modified: 2014-02-08 20:53 PST (History)
5 users (show)

See Also:


Attachments
Cleanup (17.68 KB, patch)
2014-02-08 19:13 PST, Ryosuke Niwa
no flags Details | Formatted Diff | Diff
Patch for landing (19.28 KB, patch)
2014-02-08 19:40 PST, Ryosuke Niwa
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2014-02-08 19:08:00 PST
Rename some member functions and make others private.
Comment 1 Ryosuke Niwa 2014-02-08 19:13:39 PST
Created attachment 223599 [details]
Cleanup
Comment 2 Ryosuke Niwa 2014-02-08 19:15:08 PST
Comment on attachment 223599 [details]
Cleanup

View in context: https://bugs.webkit.org/attachment.cgi?id=223599&action=review

> Source/WebCore/ChangeLog:12
> +        Renamed caretRenderer() to caretRendererWithoutUpdatingLayout() to clarify the contract
> +        as the only caller of this function is RenderBlock::paintCaret.

I'm changing this sentence to:

        Renamed caretRenderer() to caretRendererWithoutUpdatingLayout() to clarify the contract
        as the only caller of this function is RenderBlock::paintCaret. Also renamed bounds()
        to selectionBounds() to make it more easily identifiable / grep'able.

when I land it.
Comment 3 Andreas Kling 2014-02-08 19:18:21 PST
Comment on attachment 223599 [details]
Cleanup

Looks great. r=me
Comment 4 Ryosuke Niwa 2014-02-08 19:40:08 PST
Created attachment 223600 [details]
Patch for landing
Comment 5 Ryosuke Niwa 2014-02-08 19:40:44 PST
Comment on attachment 223600 [details]
Patch for landing

Wait for EWS.
Comment 6 WebKit Commit Bot 2014-02-08 20:53:15 PST
Comment on attachment 223600 [details]
Patch for landing

Clearing flags on attachment: 223600

Committed r163739: <http://trac.webkit.org/changeset/163739>
Comment 7 WebKit Commit Bot 2014-02-08 20:53:17 PST
All reviewed patches have been landed.  Closing bug.