RESOLVED FIXED 144562
Make all FrameLoadState data members private
https://bugs.webkit.org/show_bug.cgi?id=144562
Summary Make all FrameLoadState data members private
Sungmann Cho
Reported 2015-05-03 18:30:22 PDT
Previously, all of the data members in FrameLoadState were public and accessed directly from outside the class. But these should all be private as noted in FrameLoadState.h for better encapsulation.
Attachments
Patch (3.79 KB, patch)
2015-05-03 18:37 PDT, Sungmann Cho
no flags
Patch (3.79 KB, patch)
2015-05-04 16:17 PDT, Sungmann Cho
no flags
Sungmann Cho
Comment 1 2015-05-03 18:37:25 PDT
Darin Adler
Comment 2 2015-05-04 15:58:58 PDT
Comment on attachment 252297 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=252297&action=review > Source/WebKit2/UIProcess/FrameLoadState.h:54 > + const State& state() const { return m_state; } I think the type here should just be State since it’s a small scalar.
Sungmann Cho
Comment 3 2015-05-04 16:17:21 PDT
Sungmann Cho
Comment 4 2015-05-04 16:18:32 PDT
Addressed darin's comments.
WebKit Commit Bot
Comment 5 2015-05-05 09:36:10 PDT
Comment on attachment 252348 [details] Patch Clearing flags on attachment: 252348 Committed r183813: <http://trac.webkit.org/changeset/183813>
WebKit Commit Bot
Comment 6 2015-05-05 09:36:14 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.