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

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

Issue 14522010: remoting: Remove use of ALLOW_THIS_IN_INITIALIZER_LIST. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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
Index: remoting/host/setup/daemon_installer_win.cc
diff --git a/remoting/host/setup/daemon_installer_win.cc b/remoting/host/setup/daemon_installer_win.cc
index bc914b4eea26efa564d22fff6cb2651def1fc19f..2fd8d4c5eeac5c1159e485534a99bb99585766fe 100644
--- a/remoting/host/setup/daemon_installer_win.cc
+++ b/remoting/host/setup/daemon_installer_win.cc
@@ -113,13 +113,12 @@ DaemonComInstallerWin::DaemonComInstallerWin(
const CompletionCallback& done)
: DaemonInstallerWin(done),
update3_(update3),
- ALLOW_THIS_IN_INITIALIZER_LIST(
- polling_timer_(
- FROM_HERE,
- base::TimeDelta::FromMilliseconds(kOmahaPollIntervalMs),
- base::Bind(&DaemonComInstallerWin::PollInstallationStatus,
- base::Unretained(this)),
- false)) {
+ polling_timer_(
+ FROM_HERE,
+ base::TimeDelta::FromMilliseconds(kOmahaPollIntervalMs),
+ base::Bind(&DaemonComInstallerWin::PollInstallationStatus,
+ base::Unretained(this)),
+ false) {
}
void DaemonComInstallerWin::Install() {

Powered by Google App Engine
This is Rietveld 408576698