summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sessions/base_session_service.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sessions/base_session_service.cc')
-rw-r--r--chrome/browser/sessions/base_session_service.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/chrome/browser/sessions/base_session_service.cc b/chrome/browser/sessions/base_session_service.cc
index 48fd901..eacdc73 100644
--- a/chrome/browser/sessions/base_session_service.cc
+++ b/chrome/browser/sessions/base_session_service.cc
@@ -71,10 +71,7 @@ BaseSessionService::BaseSessionService(SessionType type,
: profile_(profile),
path_(path),
backend_thread_(NULL),
-#if defined(OS_WIN)
-#pragma warning(suppress: 4355) // Okay to pass "this" here.
-#endif
- save_factory_(this),
+ ALLOW_THIS_IN_INITIALIZER_LIST(save_factory_(this)),
pending_reset_(false),
commands_since_reset_(0) {
if (profile) {