| Index: webkit/plugins/npapi/webplugin_delegate_impl.h
|
| diff --git a/webkit/plugins/npapi/webplugin_delegate_impl.h b/webkit/plugins/npapi/webplugin_delegate_impl.h
|
| index 0010d3b3b45583c9963a931c37fb58ace4d11f21..0a2fb751e0dd6c22e58f0df5cb8ae7ec6f5d6ca4 100644
|
| --- a/webkit/plugins/npapi/webplugin_delegate_impl.h
|
| +++ b/webkit/plugins/npapi/webplugin_delegate_impl.h
|
| @@ -20,6 +20,10 @@
|
| #include "webkit/plugins/npapi/webplugin_delegate.h"
|
| #include "webkit/glue/webcursor.h"
|
|
|
| +#if defined(OS_WIN) && !defined(USE_AURA)
|
| +#include "base/memory/weak_ptr.h"
|
| +#endif
|
| +
|
| #if defined(USE_X11)
|
| #include "ui/base/x/x11_util.h"
|
|
|
| @@ -519,7 +523,7 @@ class WebPluginDelegateImpl : public WebPluginDelegate {
|
|
|
| // Runnable Method Factory used to invoke the OnUserGestureEnd method
|
| // asynchronously.
|
| - ScopedRunnableMethodFactory<WebPluginDelegateImpl> user_gesture_msg_factory_;
|
| + base::WeakPtrFactory<WebPluginDelegateImpl> user_gesture_msg_factory_;
|
|
|
| // Handle to the mouse hook installed for certain windowed plugins like
|
| // flash.
|
|
|