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

Unified Diff: content/child/npapi/webplugin_delegate_impl.h

Issue 1103713003: win: Move a few WeakPtrFactories to the end of their containing classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months 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/child/npapi/webplugin_delegate_impl.h
diff --git a/content/child/npapi/webplugin_delegate_impl.h b/content/child/npapi/webplugin_delegate_impl.h
index 91eddfa8a0ac20a993f6a93aa3936cebbaae7d2b..96d4a1e2515cf01493bfcac08c3ce578776d6592 100644
--- a/content/child/npapi/webplugin_delegate_impl.h
+++ b/content/child/npapi/webplugin_delegate_impl.h
@@ -437,10 +437,6 @@ class WebPluginDelegateImpl : public WebPluginDelegate {
// This flag indicates whether we started tracking a user gesture message.
bool user_gesture_message_posted_;
- // Runnable Method Factory used to invoke the OnUserGestureEnd method
- // asynchronously.
- base::WeakPtrFactory<WebPluginDelegateImpl> user_gesture_msg_factory_;
-
// Handle to the mouse hook installed for certain windowed plugins like
// flash.
HHOOK mouse_hook_;
@@ -470,6 +466,12 @@ class WebPluginDelegateImpl : public WebPluginDelegate {
// True if NPP_New did not return an error.
bool creation_succeeded_;
+#if defined(OS_WIN)
+ // Runnable Method Factory used to invoke the OnUserGestureEnd method
+ // asynchronously.
+ base::WeakPtrFactory<WebPluginDelegateImpl> user_gesture_msg_factory_;
+#endif
+
DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateImpl);
};
« no previous file with comments | « chrome/browser/ui/webui/help/version_updater_win.cc ('k') | content/child/npapi/webplugin_delegate_impl_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698