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

Unified Diff: content/plugin/plugin_channel.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 | « no previous file | content/plugin/plugin_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/plugin/plugin_channel.cc
diff --git a/content/plugin/plugin_channel.cc b/content/plugin/plugin_channel.cc
index faf0a634114406c5b7b3704dd819b17a341b4226..1e480ae7a47638e7d7777fda34935db992a85415 100644
--- a/content/plugin/plugin_channel.cc
+++ b/content/plugin/plugin_channel.cc
@@ -4,6 +4,7 @@
#include "content/plugin/plugin_channel.h"
+#include "base/bind.h"
#include "base/command_line.h"
#include "base/process_util.h"
#include "base/string_util.h"
@@ -238,8 +239,8 @@ void PluginChannel::OnDestroyInstance(int instance_id,
// Don't release the modal dialog event right away, but do it after the
// stack unwinds since the plugin can be destroyed later if it's in use
// right now.
- MessageLoop::current()->PostNonNestableTask(FROM_HERE, NewRunnableMethod(
- filter.get(), &MessageFilter::ReleaseModalDialogEvent, window));
+ MessageLoop::current()->PostNonNestableTask(FROM_HERE, base::Bind(
+ &MessageFilter::ReleaseModalDialogEvent, filter.get(), window));
return;
}
}
« no previous file with comments | « no previous file | content/plugin/plugin_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698