projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb00c28
)
webContents: workaround reloadIgnoringcache without breaking node integration
author
deepak1556
<hop2deep@gmail.com>
Wed, 8 Apr 2015 06:46:50 +0000
(12:16 +0530)
committer
deepak1556
<hop2deep@gmail.com>
Mon, 13 Apr 2015 05:33:16 +0000
(11:03 +0530)
atom/browser/api/atom_api_web_contents.cc
patch
|
blob
|
history
diff --git
a/atom/browser/api/atom_api_web_contents.cc
b/atom/browser/api/atom_api_web_contents.cc
index
4c76f53
..
292bf65
100644
(file)
--- a/
atom/browser/api/atom_api_web_contents.cc
+++ b/
atom/browser/api/atom_api_web_contents.cc
@@
-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);
}