DescriptionFix memory leak in display list canvas overdraw optimization.
This change simply adds a missing unref() call in the code
that handles overdraw optimization. The memory leak would
manifest itself as a race condition in animation loops that
use setTimeout or setInterval instead of
requestAnimationFrame: If a new frame starts before the
previous frame is consumed by the compositor, the previous
frame is to be droped. But in this case, the frame was
being leaked instead of dropped.
BUG=474510
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=193398
Patch Set 1 #
Total comments: 2
Patch Set 2 : use RefPtr to unref #Messages
Total messages: 16 (3 generated)
|