Use NoDestructor in PendingDialog::GetInstance()
NoDestructor should be preferred over Singleton according to the comments in singleton.h and https://bugs.chromium.org/p/chromium/issues/detail?id=925323. And this *may* also relate to https://bugs.chromium.org/p/chromium/issues/detail?id=922327 BUG=chromium:925323, chromium:922327 TEST=cq Change-Id: Icb014d0eae9e0032a2a5ca56dcec59cf72300315 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2526643Reviewed-by:Alexey Baskakov <loyso@chromium.org> Reviewed-by:
Luciano Pacheco <lucmult@chromium.org> Commit-Queue: Honglin Yu <honglinyu@chromium.org> Cr-Commit-Position: refs/heads/master@{#825757}
Showing
Please register or sign in to comment