UMA: workaround null MemoryInstrumentation
It appears the MemoryInstrumentation singleton can be null in UMA logging code, possibly because this runs prior to //content initialization. There's no memory metrics to log in this case, so we work around this by null-checking the singleton and exiting early. Fixed: 1140173 Test: None Change-Id: Id5e783dd068381dac1d7ac48b86764acc54ed620 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2533738 Commit-Queue: Nate Fischer <ntfschr@chromium.org> Reviewed-by:Robert Kaplow <rkaplow@chromium.org> Cr-Commit-Position: refs/heads/master@{#827121}
Showing
Please register or sign in to comment