Use unique_ptr for last_fetch_trigger_type_
Undefined behavior occurs (observed as a crash) when the Feed Internals page is loaded and the last_fetch_trigger_type_ var is uninitialized, so wrapping it here in a nullable pointer to avoid this. Bug: 981513 Change-Id: I8637412423ab14d1a1329a414997d1f38887daaa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1691046Reviewed-by:Sky Malice <skym@chromium.org> Commit-Queue: Natalie Chouinard <chouinard@chromium.org> Cr-Commit-Position: refs/heads/master@{#675698}
Showing
Please register or sign in to comment