Chromium Code Reviews
DescriptionFasterReload: remove default WebFrameLoadType from WebFrame::reload*
Now, there are two callses that use WebFrameLoadType::Reload to call
WebFrame::reloadWithOverrideURL(). These callers can be modified to use
WebFrameLoadType::ReloadMainResoure insteads.
Also, this change removes default argument from WebFrame::reload() and
WebFrame::reloadWithOverrideURL() so to encourage using a right reload
type for each caller respectively. Also this will be better in terms of
coding style since default argument for virtual method is not recommended
in chromium.
BUG=670196
Committed: https://crrev.com/4b39f0247b96125c94a71dd3323ea16b8deac182
Cr-Commit-Position: refs/heads/master@{#438737}
Patch Set 1 #
Messages
Total messages: 15 (10 generated)
|
||||||||||||||||||||||||||||