Chromium Code Reviews
DescriptionDevTools: make paint profiler target-aware
- introduce WeakReference, that is cleared when its
host is disposed;
- pass target around as a WeakReference, so that when
the target is disposed, the caller won't be able to
use stale object;
- replace direct calls to LayerAgent's paint profiler
methods with calls to PaintProfilerSnapshot;
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178040
Patch Set 1 #
Total comments: 1
Patch Set 2 : use WeakReference to Target in places thay may outlive tatget #
Total comments: 1
Patch Set 3 : fixed a test and a stray line #Messages
Total messages: 9 (0 generated)
|