Index: webkit/plugins/npapi/webplugin_impl.h |
diff --git a/webkit/plugins/npapi/webplugin_impl.h b/webkit/plugins/npapi/webplugin_impl.h |
index 70b1eff00e1041cf7bb6db9ff8d0f67a573907f8..2664f4343ca23ccb7ed5c17cc3545427ff2b210d 100644 |
--- a/webkit/plugins/npapi/webplugin_impl.h |
+++ b/webkit/plugins/npapi/webplugin_impl.h |
@@ -12,7 +12,6 @@ |
#include "base/basictypes.h" |
#include "base/file_path.h" |
#include "base/memory/weak_ptr.h" |
-#include "base/task.h" |
#include "googleurl/src/gurl.h" |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebPlugin.h" |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebRect.h" |
@@ -297,7 +296,7 @@ class WebPluginImpl : public WebPlugin, |
std::vector<std::string> arg_names_; |
std::vector<std::string> arg_values_; |
- ScopedRunnableMethodFactory<WebPluginImpl> method_factory_; |
+ base::WeakPtrFactory<WebPluginImpl> weak_factory_; |
DISALLOW_COPY_AND_ASSIGN(WebPluginImpl); |
}; |