Use ScopedProfileKeepAlive in BrowsingDataRemover
It already had a ScopedKeepAlive to keep the BrowserProcess from shutting down while clearing data. But it also needs a ScopedProfileKeepAlive, to keep the Profile* from being deleted while clearing. ScopedProfileKeepAlive is a no-op when DestroyProfileOnBrowserClose is false (which is the default for now). Bug: 88586 Change-Id: Ie5a133f99e2b67c0901abc3935cdbe804f2b4030 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2625996Reviewed-by:Christian Dullweber <dullweber@chromium.org> Reviewed-by:
Mihai Sardarescu <msarda@chromium.org> Commit-Queue: Nicolas Ouellet-Payeur <nicolaso@chromium.org> Cr-Commit-Position: refs/heads/master@{#843782}
Showing
Please register or sign in to comment