Commit 2ea692ff authored by creis's avatar creis Committed by Commit bot

Move RFH's WeakPtrFactory to be the last member.

BUG=none

Review URL: https://codereview.chromium.org/589653002

Cr-Commit-Position: refs/heads/master@{#295777}
parent 8586447f
...@@ -479,8 +479,6 @@ class CONTENT_EXPORT RenderFrameHostImpl ...@@ -479,8 +479,6 @@ class CONTENT_EXPORT RenderFrameHostImpl
ServiceRegistryImpl service_registry_; ServiceRegistryImpl service_registry_;
base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_;
// Callback when an event is received, for testing. // Callback when an event is received, for testing.
...@@ -488,6 +486,9 @@ class CONTENT_EXPORT RenderFrameHostImpl ...@@ -488,6 +486,9 @@ class CONTENT_EXPORT RenderFrameHostImpl
// The most recently received accessibility tree - for testing only. // The most recently received accessibility tree - for testing only.
scoped_ptr<ui::AXTree> ax_tree_for_testing_; 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); DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment