summaryrefslogtreecommitdiffstats
path: root/base/task.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/task.h')
-rw-r--r--base/task.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/task.h b/base/task.h
index de5da77..91ec520 100644
--- a/base/task.h
+++ b/base/task.h
@@ -48,7 +48,7 @@ class CancelableTask : public Task {
//
// public:
// // It is safe to suppress warning 4355 here.
-// MyClass() : some_method_factory_(this) { }
+// MyClass() : ALLOW_THIS_IN_INITIALIZER_LIST(some_method_factory_(this)) { }
//
// void SomeMethod() {
// // If this function might be called directly, you might want to revoke