summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authordcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-29 22:51:17 +0000
committerdcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-29 22:51:17 +0000
commitb2414ca78f43c38aa817f58ddc8247d4c1769e5d (patch)
treea8c2ac82ce53ba2aec9db231a2129cbf2845fede /webkit
parentfe20095d2cfe95bd02d3bc728f7fa27cbb36cf94 (diff)
downloadchromium_src-b2414ca78f43c38aa817f58ddc8247d4c1769e5d.zip
chromium_src-b2414ca78f43c38aa817f58ddc8247d4c1769e5d.tar.gz
chromium_src-b2414ca78f43c38aa817f58ddc8247d4c1769e5d.tar.bz2
Replace MessageLoop::DeleteSoon implementation with one that uses base::Bind.
BUG=none TEST=none TBR=willchan,brettw,tony Review URL: http://codereview.chromium.org/9004051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115997 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r--webkit/plugins/npapi/webplugin_delegate_impl.h4
-rw-r--r--webkit/plugins/ppapi/ppapi_webplugin_impl.h4
-rw-r--r--webkit/plugins/webview_plugin.h4
3 files changed, 6 insertions, 6 deletions
diff --git a/webkit/plugins/npapi/webplugin_delegate_impl.h b/webkit/plugins/npapi/webplugin_delegate_impl.h
index bd83fa72..0a89903 100644
--- a/webkit/plugins/npapi/webplugin_delegate_impl.h
+++ b/webkit/plugins/npapi/webplugin_delegate_impl.h
@@ -10,7 +10,7 @@
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
-#include "base/task.h"
+#include "base/message_loop_helpers.h"
#include "base/time.h"
#include "base/timer.h"
#include "build/build_config.h"
@@ -231,7 +231,7 @@ class WEBKIT_PLUGINS_EXPORT WebPluginDelegateImpl : public WebPluginDelegate {
#endif
private:
- friend class DeleteTask<WebPluginDelegateImpl>;
+ friend class base::DeleteHelper<WebPluginDelegateImpl>;
friend class WebPluginDelegate;
WebPluginDelegateImpl(gfx::PluginWindowHandle containing_view,
diff --git a/webkit/plugins/ppapi/ppapi_webplugin_impl.h b/webkit/plugins/ppapi/ppapi_webplugin_impl.h
index 40e4178..21e693f 100644
--- a/webkit/plugins/ppapi/ppapi_webplugin_impl.h
+++ b/webkit/plugins/ppapi/ppapi_webplugin_impl.h
@@ -10,7 +10,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
-#include "base/task.h"
+#include "base/message_loop_helpers.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebPlugin.h"
#include "ui/gfx/rect.h"
#include "webkit/plugins/webkit_plugins_export.h"
@@ -35,7 +35,7 @@ class WebPluginImpl : public WebKit::WebPlugin {
const base::WeakPtr<PluginDelegate>& plugin_delegate);
private:
- friend class DeleteTask<WebPluginImpl>;
+ friend class base::DeleteHelper<WebPluginImpl>;
WEBKIT_PLUGINS_EXPORT virtual ~WebPluginImpl();
diff --git a/webkit/plugins/webview_plugin.h b/webkit/plugins/webview_plugin.h
index 0a9b5d9..2915adda 100644
--- a/webkit/plugins/webview_plugin.h
+++ b/webkit/plugins/webview_plugin.h
@@ -8,7 +8,7 @@
#include <list>
#include "base/memory/scoped_ptr.h"
-#include "base/task.h"
+#include "base/message_loop_helpers.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebFrameClient.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebPlugin.h"
@@ -142,7 +142,7 @@ class WebViewPlugin: public WebKit::WebPlugin, public WebKit::WebViewClient,
const WebKit::WebURLResponse& response);
private:
- friend class DeleteTask<WebViewPlugin>;
+ friend class base::DeleteHelper<WebViewPlugin>;
virtual ~WebViewPlugin();
Delegate* delegate_;