[webkit-reviews] review granted: [Bug 120019] Document::visitedLinkState() should return a reference : [Attachment 209106] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 19 12:14:30 PDT 2013


Andreas Kling <akling at apple.com> has granted Pratik Solanki
<psolanki at apple.com>'s request for review:
Bug 120019: Document::visitedLinkState() should return a reference
https://bugs.webkit.org/show_bug.cgi?id=120019

Attachment 209106: Patch
https://bugs.webkit.org/attachment.cgi?id=209106&action=review

------- Additional Comments from Andreas Kling <akling at apple.com>
r=me

As an added precaution, you should make Document::m_visitedLinkState const.
That way it can't be assigned to outside of the Document ctor initializer list.


More information about the webkit-reviews mailing list