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

Unified Diff: content/renderer/webplugin_delegate_proxy.h

Issue 9004051: Replace MessageLoop::DeleteSoon implementation with one that uses base::Bind. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Final Created 9 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
Index: content/renderer/webplugin_delegate_proxy.h
diff --git a/content/renderer/webplugin_delegate_proxy.h b/content/renderer/webplugin_delegate_proxy.h
index d89fd401bdc2246403a2cecdef8faf12ed1ec538..9d76001838cf964ad239502ce637c93e5e21e74d 100644
--- a/content/renderer/webplugin_delegate_proxy.h
+++ b/content/renderer/webplugin_delegate_proxy.h
@@ -12,6 +12,7 @@
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
+#include "base/message_loop_helpers.h"
#include "googleurl/src/gurl.h"
#include "ipc/ipc_channel.h"
#include "ipc/ipc_message.h"
@@ -132,7 +133,7 @@ class WebPluginDelegateProxy
gfx::PluginWindowHandle GetPluginWindowHandle();
protected:
- template<class WebPluginDelegateProxy> friend class DeleteTask;
+ friend class base::DeleteHelper<WebPluginDelegateProxy>;
virtual ~WebPluginDelegateProxy();
private:

Powered by Google App Engine
This is Rietveld 408576698