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

Unified Diff: content/plugin/plugin_thread.cc

Issue 8601002: base::Bind fixes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 | « content/plugin/plugin_channel.cc ('k') | content/plugin/webplugin_accelerated_surface_proxy_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/plugin/plugin_thread.cc
diff --git a/content/plugin/plugin_thread.cc b/content/plugin/plugin_thread.cc
index f4de8bee16f8822cc3500355dcc81a188ee793bf..60bb5add14a199df67ca690479d1001d30bf835b 100644
--- a/content/plugin/plugin_thread.cc
+++ b/content/plugin/plugin_thread.cc
@@ -15,6 +15,7 @@
#include <string>
#include <vector>
+#include "base/bind.h"
#include "base/command_line.h"
#include "base/lazy_instance.h"
#include "base/process_util.h"
@@ -54,7 +55,7 @@ class EnsureTerminateMessageFilter : public IPC::ChannelProxy::MessageFilter {
// We achieve this by posting an exit process task on the IO thread.
MessageLoop::current()->PostDelayedTask(
FROM_HERE,
- NewRunnableMethod(this, &EnsureTerminateMessageFilter::Terminate),
+ base::Bind(&EnsureTerminateMessageFilter::Terminate, this),
kPluginProcessTerminateTimeoutMs);
}
« no previous file with comments | « content/plugin/plugin_channel.cc ('k') | content/plugin/webplugin_accelerated_surface_proxy_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698