Bug 1496251 - Convert nsDocShell::InternalLoad to using nsDocShellLoadState r=bzbarsky,nika
Move InternalLoad from 24 arguments to 3, using nsDocShellLoadState objects. Move all internal argument references to using calls to accessors/mutators on nsDocShellLoadState. Comments from old interface function definition have been spread to relevant places in code. Internal load flags in nsDocShellLoadState are also consolidated to the LoadFlags member, as they were usually passed as that member before nsDocShellLoadState existed. This begins the work to simplify load flags further in a later patch (See Bug 1475331). Depends on D13487 Differential Revision: https://phabricator.services.mozilla.com/D13488
This commit is contained in: