Fix a crash when last profile is not ready during startup
KeyedServiceFactory crash when passing in a null pointer. Hence check the pointer ahead of time and return NO early like other code in the same function. Bug: chromium:1161109 Change-Id: I3addf01456f27f42e97dcb3810cf367731279921 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2618201Reviewed-by:Avi Drissman <avi@chromium.org> Commit-Queue: Owen Min <zmin@chromium.org> Cr-Commit-Position: refs/heads/master@{#841656}
Showing
Please register or sign in to comment