Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Unified Diff: webkit/plugins/ppapi/plugin_module.cc

Issue 7277077: While initializing the pepper plugin registry in the renderer we load each plugin and attempt to ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/plugin_module.cc
===================================================================
--- webkit/plugins/ppapi/plugin_module.cc (revision 91384)
+++ webkit/plugins/ppapi/plugin_module.cc (working copy)
@@ -458,6 +458,7 @@
if (!LoadEntryPointsFromLibrary(library, &entry_points_) ||
!InitializeModule()) {
+ memset(&entry_points_, 0, sizeof(entry_points_));
brettw 2011/07/06 18:27:54 Can we do this in the constructor instead?
ananta 2011/07/06 18:41:53 I moved the memset to the constructor. However the
base::UnloadNativeLibrary(library);
return false;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698