Bug 211744 - Remove some unnecessary indirection when getting Document’s Editor
Summary: Remove some unnecessary indirection when getting Document’s Editor
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Wenson Hsieh
URL:
Keywords: DoNotImportToRadar
Depends on:
Blocks:
 
Reported: 2020-05-11 13:55 PDT by Wenson Hsieh
Modified: 2020-05-11 15:44 PDT (History)
16 users (show)

See Also:


Attachments
Patch (17.43 KB, patch)
2020-05-11 14:11 PDT, Wenson Hsieh
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wenson Hsieh 2020-05-11 13:55:44 PDT
After r261018, there’s no need to go from Document -> Frame -> Editor if we are already sure that the Frame exists; we can simplify this to just Document -> Editor.
Comment 1 Wenson Hsieh 2020-05-11 14:11:34 PDT
Created attachment 399055 [details]
Patch
Comment 2 Geoffrey Garen 2020-05-11 14:39:16 PDT
Comment on attachment 399055 [details]
Patch

r=me
Comment 3 Wenson Hsieh 2020-05-11 15:37:23 PDT
Comment on attachment 399055 [details]
Patch

Thanks for the review!
Comment 4 EWS 2020-05-11 15:44:33 PDT
Committed r261500: <https://trac.webkit.org/changeset/261500>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 399055 [details].