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

Unified Diff: webkit/glue/plugins/plugin_list.cc

Issue 5574005: Valgrind: Fix leak in PluginList by actually calling Shutdown().... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years 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/glue/plugins/plugin_list.cc
===================================================================
--- webkit/glue/plugins/plugin_list.cc (revision 68542)
+++ webkit/glue/plugins/plugin_list.cc (working copy)
@@ -9,7 +9,6 @@
#include "base/command_line.h"
#include "base/lazy_instance.h"
#include "base/logging.h"
-#include "base/stl_util-inl.h"
#include "base/string_split.h"
#include "base/string_util.h"
#include "base/sys_string_conversions.h"
@@ -22,6 +21,7 @@
#include "webkit/glue/webkit_glue.h"
#if defined(OS_POSIX)
+#include "base/stl_util-inl.h"
#include "base/third_party/valgrind/valgrind.h"
#endif // defined(OS_POSIX)
@@ -713,6 +713,7 @@
}
PluginList::~PluginList() {
+ Shutdown();
}
void PluginList::Shutdown() {
« 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