DescriptionRemove SupportsWeakPtr inheritance from GLES2Decoder
SupportsWeakPtr's weak pointers are invalidated only after derived class
members are destroyed which may lead to use-after-destroy issues.
This CL removes SupportsWeakPtr from GLES2Decoder and adds a WeakPtrFactory
instance to each of its subclasses.
BUG=None
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Review-Url: https://codereview.chromium.org/2898953002
Cr-Commit-Position: refs/heads/master@{#473962}
Committed: https://chromium.googlesource.com/chromium/src/+/0b3fe7fdedf2eb52860ccac16bd8c04822c156b2
Patch Set 1 #
Messages
Total messages: 13 (9 generated)
|