Bug 122364 - Editor should use reference-getting document() internally.
Summary: Editor should use reference-getting document() internally.
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: Andreas Kling
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-04 17:31 PDT by Andreas Kling
Modified: 2013-10-04 18:04 PDT (History)
1 user (show)

See Also:


Attachments
Patch (33.70 KB, patch)
2013-10-04 17:32 PDT, Andreas Kling
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kling 2013-10-04 17:31:03 PDT
We already have Editor::document() returning a Document& after asserting that m_frame.document() is non-null.
Let's use this everywhere instead of clumsily reaching through the pointer.
Comment 1 Andreas Kling 2013-10-04 17:32:00 PDT
Created attachment 213425 [details]
Patch
Comment 2 WebKit Commit Bot 2013-10-04 18:04:56 PDT
Comment on attachment 213425 [details]
Patch

Clearing flags on attachment: 213425

Committed r156938: <http://trac.webkit.org/changeset/156938>
Comment 3 WebKit Commit Bot 2013-10-04 18:04:58 PDT
All reviewed patches have been landed.  Closing bug.