Merge pull request #1382 from deepak1556/webcontents_patch

webContents: workaround reloadIgnoringcache without breaking node integration
This commit is contained in:
Cheng Zhao 2015-04-13 14:54:06 +08:00
commit e28fc190f2

View file

@ -398,6 +398,9 @@ void WebContents::Reload(const mate::Dictionary& options) {
}
void WebContents::ReloadIgnoringCache(const mate::Dictionary& options) {
// Hack to remove pending entries that ignores cache and treated as a fresh
// load.
web_contents()->GetController().ReloadIgnoringCache(false);
Reload(options);
}