Bug 122396 - CTTE: Pass DocumentWriter around as a reference
Summary: CTTE: Pass DocumentWriter around as a reference
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Sam Weinig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-05 16:55 PDT by Sam Weinig
Modified: 2013-10-05 16:58 PDT (History)
12 users (show)

See Also:


Attachments
Patch (14.87 KB, patch)
2013-10-05 16:56 PDT, Sam Weinig
kling: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Weinig 2013-10-05 16:55:57 PDT
CTTE: Pass DocumentWriter around as a reference
Comment 1 Sam Weinig 2013-10-05 16:56:23 PDT
Created attachment 213476 [details]
Patch
Comment 2 Andreas Kling 2013-10-05 16:57:49 PDT
Comment on attachment 213476 [details]
Patch

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

r=me!

> Source/WebCore/loader/DocumentLoader.h:99
> -        DocumentWriter* writer() const { return &m_writer; }
> +        DocumentWriter& writer() const { return m_writer; }

Duh.
Comment 3 Sam Weinig 2013-10-05 16:58:29 PDT
Committed r156978: <http://trac.webkit.org/changeset/156978>