commit | 495db68ba6bd9a5bbf03208f98eeac4a9dfb5809 | [log] [tgz] |
---|---|---|
author | Jeremy Roman <[email protected]> | Fri Jul 12 16:03:24 2019 |
committer | Commit Bot <[email protected]> | Fri Jul 12 16:03:24 2019 |
tree | 539fad8d15fa11b0bfe5f7b59f4d4d48abeca92e | |
parent | 04d24fc9a442c9a80bdc0af666d04c4a78fa73d5 [diff] [blame] |
Use in-class initializers for base::WeakPtrFactory in chrome/. Generated by: https://chromium-review.googlesource.com/c/chromium/src/+/1689216 Some existing uses of NULL are replaced with nullptr to remove presubmit errors. Bug: 981415 Change-Id: I9824a00bd16e27cf2f0e03e6c7127ffc457b56e3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1697372 Commit-Queue: Jeremy Roman <[email protected]> Reviewed-by: Lei Zhang <[email protected]> Cr-Commit-Position: refs/heads/master@{#676912}
diff --git a/chrome/browser/push_messaging/push_messaging_notification_manager.h b/chrome/browser/push_messaging/push_messaging_notification_manager.h index 41bd07a8..3037534 100644 --- a/chrome/browser/push_messaging/push_messaging_notification_manager.h +++ b/chrome/browser/push_messaging/push_messaging_notification_manager.h
@@ -110,7 +110,7 @@ nullptr; #endif - base::WeakPtrFactory<PushMessagingNotificationManager> weak_factory_; + base::WeakPtrFactory<PushMessagingNotificationManager> weak_factory_{this}; DISALLOW_COPY_AND_ASSIGN(PushMessagingNotificationManager); };