Refactoring the weak_ptr_factory order in content/browser/renderer_host
commiteef1b5914f37b0fb0edbd1c340a60332d5453453
authormohan.reddy <mohan.reddy@samsung.com>
Fri, 12 Sep 2014 19:43:32 +0000 (12 12:43 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 12 Sep 2014 19:48:11 +0000 (12 19:48 +0000)
treeafdabfca5fa78a22c28a9d71da91be76a114154f
parent802fbf73dba0b4f09f96640452d49de768c43cc0
Refactoring the weak_ptr_factory order in content/browser/renderer_host

Changing in the intialization order of WeakPtrFactory such that all
member variables should appear before the WeakPtrFactory to ensure
that any WeakPtrs to Controller are invalidated before its members
variable's destructors are executed, rendering them invalid.

BUG=303818

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

Cr-Commit-Position: refs/heads/master@{#294637}
content/browser/renderer_host/compositor_resize_lock_aura.cc
content/browser/renderer_host/compositor_resize_lock_aura.h
content/browser/renderer_host/render_view_host_impl.cc
content/browser/renderer_host/render_view_host_impl.h
content/browser/renderer_host/render_widget_host_view_android.cc
content/browser/renderer_host/render_widget_host_view_android.h
content/browser/renderer_host/socket_stream_dispatcher_host.cc
content/browser/renderer_host/socket_stream_dispatcher_host.h