Summary: | PageGroup::groupSettings() should return a reference | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Pratik Solanki <psolanki> | ||||
Component: | WebCore Misc. | Assignee: | Pratik Solanki <psolanki> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | kling, psolanki | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Pratik Solanki
2013-08-26 10:35:00 PDT
Created attachment 209664 [details]
Patch
Comment on attachment 209664 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=209664&action=review LGTM. > Source/WebCore/page/PageGroup.h:111 > - GroupSettings* groupSettings() const { return m_groupSettings.get(); } > + GroupSettings& groupSettings() const { return *m_groupSettings; } We should also make m_groupSettings a const OwnPtr. Committed r154618: <http://trac.webkit.org/changeset/154618> |