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:
280337b
)
renderer: reset plugin cache when render frame is created
author
deepak1556
<hop2deep@gmail.com>
Sat, 11 Mar 2017 19:23:39 +0000
(
00:53
+0530)
committer
deepak1556
<hop2deep@gmail.com>
Sat, 11 Mar 2017 19:23:39 +0000
(
00:53
+0530)
atom/renderer/atom_renderer_client.cc
patch
|
blob
|
history
diff --git
a/atom/renderer/atom_renderer_client.cc
b/atom/renderer/atom_renderer_client.cc
index
078bcf7
..
637792c
100644
(file)
--- a/
atom/renderer/atom_renderer_client.cc
+++ b/
atom/renderer/atom_renderer_client.cc
@@
-271,6
+271,9
@@
void AtomRendererClient::RenderFrameCreated(
// FIXME(zcbenz): Can this be moved elsewhere?
blink::WebSecurityPolicy::registerURLSchemeAsAllowingServiceWorkers("file");
+ // This is required for widevine plugin detection provided during runtime.
+ blink::resetPluginCache();
+
// Parse --secure-schemes=scheme1,scheme2
std::vector<std::string> secure_schemes_list =
ParseSchemesCLISwitch(switches::kSecureSchemes);