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

Unified Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 589653002: Move RFH's WeakPtrFactory to be the last member. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/render_frame_host_impl.h
diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h
index 1d814e81cd020b163bfbde568be6d101ea81f54c..96d8d03caba1ffcecb43ad965735957bd3b4750a 100644
--- a/content/browser/frame_host/render_frame_host_impl.h
+++ b/content/browser/frame_host/render_frame_host_impl.h
@@ -479,8 +479,6 @@ class CONTENT_EXPORT RenderFrameHostImpl
ServiceRegistryImpl service_registry_;
- base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
-
scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_;
// Callback when an event is received, for testing.
@@ -488,6 +486,9 @@ class CONTENT_EXPORT RenderFrameHostImpl
// The most recently received accessibility tree - for testing only.
scoped_ptr<ui::AXTree> ax_tree_for_testing_;
+ // NOTE: This must be the last member.
+ base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
+
DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698