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

Unified Diff: ppapi/shared_impl/resource_tracker.h

Issue 26727006: Revert 227566 "Fix some WeakPtrFactory members that aren't last" (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1672/src/
Patch Set: Created 7 years, 2 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
« no previous file with comments | « ppapi/proxy/ppb_var_deprecated_proxy.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/resource_tracker.h
===================================================================
--- ppapi/shared_impl/resource_tracker.h (revision 228862)
+++ ppapi/shared_impl/resource_tracker.h (working copy)
@@ -126,14 +126,14 @@
int32 last_resource_value_;
+ base::WeakPtrFactory<ResourceTracker> weak_ptr_factory_;
+
// On the host side, we want to check that we are only called on the main
// thread. This is to protect us from accidentally using the tracker from
// other threads (especially the IO thread). On the plugin side, the tracker
// is protected by the proxy lock and is thread-safe, so this will be NULL.
scoped_ptr<base::ThreadChecker> thread_checker_;
- base::WeakPtrFactory<ResourceTracker> weak_ptr_factory_;
-
DISALLOW_COPY_AND_ASSIGN(ResourceTracker);
};
« no previous file with comments | « ppapi/proxy/ppb_var_deprecated_proxy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698