Add CHECK()s to investigate Issue 737392
ImageResourceContent::content_status_ is suspected to be reset to kNotStarted (i.e. 0) during ImageResourceContent::UpdateImage(), but therer is no code that sets content_status_ to kNotStarted explicitly. This CL adds CHECKs() to - Check whether |this| is garbage collected unexpectedly during UpdateImage(), and - Investigate where |content_status_| becomes kNotStarted precisely. This is to be reverted before going to beta. Bug: 737392 Change-Id: I2879bc54771a295a2dd77fed6808c1c08668e262 Reviewed-on: https://chromium-review.googlesource.com/572036 Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org> Reviewed-by:Kinuko Yasuda <kinuko@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#486986}
Showing
Please register or sign in to comment