Chromium Code Reviews
DescriptionHandle uncommitted PaintController in DisplayItemClient aliveness tracking
crbug.com/616700 is a case that PaintController is not committed before
destructed.
Recent crash reports [1] also show crashes in
DisplayItemClient::~DisplayItemClient() not during painting, indicating
that we may have uncommitted PaintController when painting finishes.
Though uncommitted PaintController might be still a problem, this patch
tolerate the situation in DisplayItemClient aliveness tracking by
clearing the should-keep-alive registry when PaintController is
destructed and after a synchronized painting.
[1] https://crash/browse?q=custom_data.ChromeCrashProto.magic_signature_1.name%3D%27blink%3A%3ADisplayItemClient%3A%3A~DisplayItemClient%27&ignore_case=false&enable_rewrite=true&omit_field_name=&omit_field_value=&omit_field_opt=%3D&stbtiq=&reportid=aa1bbf9c00000000&index=3#0
BUG=609218, 616700
Committed: https://crrev.com/8869774caff4ff15a7f3712a0ea7e616e3c8ed40
Cr-Commit-Position: refs/heads/master@{#397616}
Patch Set 1 #
Messages
Total messages: 12 (7 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||