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

Unified Diff: remoting/host/setup/host_starter.cc

Issue 26539006: Remoting: Move WeakPtrFactory members to be last (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/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 | « remoting/host/setup/host_starter.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/setup/host_starter.cc
diff --git a/remoting/host/setup/host_starter.cc b/remoting/host/setup/host_starter.cc
index 1fd3c17a33016b5c165d0ae938f102fc71bdf894..298be8ed7d45ddc1bfb4dd903f32d9c4d259802c 100644
--- a/remoting/host/setup/host_starter.cc
+++ b/remoting/host/setup/host_starter.cc
@@ -26,8 +26,8 @@ HostStarter::HostStarter(
daemon_controller_(daemon_controller),
consent_to_data_collection_(false),
unregistering_host_(false),
- weak_ptr_factory_(this),
- weak_ptr_(weak_ptr_factory_.GetWeakPtr()) {
+ weak_ptr_factory_(this) {
+ weak_ptr_ = weak_ptr_factory_.GetWeakPtr();
main_task_runner_ = base::ThreadTaskRunnerHandle::Get();
}
« no previous file with comments | « remoting/host/setup/host_starter.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698