webContents: workaround reloadIgnoringcache without breaking node integration

This commit is contained in:
deepak1556 2015-04-08 12:16:50 +05:30
parent fb00c28026
commit a3f630e55c

View file

@ -387,6 +387,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);
}