|
|
Chromium Code Reviews
DescriptionReplace deprecated base::NonThreadSafe in ui/gl in favor of ThreadChecker.
Note to crash team: This CL is a refactor and has no intended behavior change.
This change was scripted by https://crbug.com/676387#c8.
(and then updated from SequenceChecker to ThreadChecker per request)
BUG=676387
This CL was uploaded by git cl split.
R=piman@chromium.org
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/2911113002
Cr-Commit-Position: refs/heads/master@{#475939}
Committed: https://chromium.googlesource.com/chromium/src/+/c70ce762d963655ec12866e88f3f1107dcaea560
Patch Set 1 #Patch Set 2 : SequenceChecker => ThreadChecker #Messages
Total messages: 19 (13 generated)
The CQ bit was checked by gab@chromium.org to run a CQ dry run
Description was changed from ========== Replace deprecated base::NonThreadSafe in ui/gl in favor of SequenceChecker. Note to crash team: This CL is a refactor and has no intended behavior change. This change was scripted by https://crbug.com/676387#c8. Note-worthy for the reviewer: * SequenceChecker enforces thread-safety but not thread-affinity! If the classes that were updated are thread-affine (use thread local storage or a third-party API that does) they should be migrated to ThreadChecker instead. * ~NonThreadSafe() used to implcitly check in its destructor ~Sequence/ThreadChecker() doesn't by design. To keep this CL a no-op, an explicit check was added to the destructor of migrated classes. * NonThreadSafe used to provide access to subclasses, as such the |sequence_checker_| member was made protected rather than private where necessary. BUG=676387 This CL was uploaded by git cl split. R=piman@chromium.org ========== to ========== Replace deprecated base::NonThreadSafe in ui/gl in favor of SequenceChecker. Note to crash team: This CL is a refactor and has no intended behavior change. This change was scripted by https://crbug.com/676387#c8. Note-worthy for the reviewer: * SequenceChecker enforces thread-safety but not thread-affinity! If the classes that were updated are thread-affine (use thread local storage or a third-party API that does) they should be migrated to ThreadChecker instead. * ~NonThreadSafe() used to implcitly check in its destructor ~Sequence/ThreadChecker() doesn't by design. To keep this CL a no-op, an explicit check was added to the destructor of migrated classes. * NonThreadSafe used to provide access to subclasses, as such the |sequence_checker_| member was made protected rather than private where necessary. BUG=676387 This CL was uploaded by git cl split. R=piman@chromium.org 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 ==========
Hi, this is an automated change made by https://crbug.com/676387#c8 and sharded across directories for OWNERS. No human has looked at this specific output yet, see cl description for things to watch for. If it LGTY, please CQ. If it didn't pass CQ dry-run it may be a simple patch failure or an IWYU failure from having this being a partial CL... please review anyways and a human will look at the failure (and ping for re-review if anything major is required..). It is known to compile all targets on Windows at r474679... manual tweaks will likely be required to smoothen things off, bear with me! Thanks! Gab
Dry run: CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
This actually requires thread affinity (not just sequence affinity) because the GL API (implicitly) uses thread-local concepts such as the "current context".
The CQ bit was checked by gab@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== Replace deprecated base::NonThreadSafe in ui/gl in favor of SequenceChecker. Note to crash team: This CL is a refactor and has no intended behavior change. This change was scripted by https://crbug.com/676387#c8. Note-worthy for the reviewer: * SequenceChecker enforces thread-safety but not thread-affinity! If the classes that were updated are thread-affine (use thread local storage or a third-party API that does) they should be migrated to ThreadChecker instead. * ~NonThreadSafe() used to implcitly check in its destructor ~Sequence/ThreadChecker() doesn't by design. To keep this CL a no-op, an explicit check was added to the destructor of migrated classes. * NonThreadSafe used to provide access to subclasses, as such the |sequence_checker_| member was made protected rather than private where necessary. BUG=676387 This CL was uploaded by git cl split. R=piman@chromium.org 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 ========== to ========== Replace deprecated base::NonThreadSafe in ui/gl in favor of ThreadChecker. Note to crash team: This CL is a refactor and has no intended behavior change. This change was scripted by https://crbug.com/676387#c8. (and then updated from SequenceChecker to ThreadChecker per request) BUG=676387 This CL was uploaded by git cl split. R=piman@chromium.org 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 ==========
On 2017/05/30 15:30:31, piman wrote: > This actually requires thread affinity (not just sequence affinity) because the > GL API (implicitly) uses thread-local concepts such as the "current context". Done.
lgtm
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by gab@chromium.org
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 20001, "attempt_start_ts": 1496248346018550,
"parent_rev": "a62c0d824200e6e00806c7be02c117ad7b85dbea", "commit_rev":
"c70ce762d963655ec12866e88f3f1107dcaea560"}
Message was sent while issue was closed.
Description was changed from ========== Replace deprecated base::NonThreadSafe in ui/gl in favor of ThreadChecker. Note to crash team: This CL is a refactor and has no intended behavior change. This change was scripted by https://crbug.com/676387#c8. (and then updated from SequenceChecker to ThreadChecker per request) BUG=676387 This CL was uploaded by git cl split. R=piman@chromium.org 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 ========== to ========== Replace deprecated base::NonThreadSafe in ui/gl in favor of ThreadChecker. Note to crash team: This CL is a refactor and has no intended behavior change. This change was scripted by https://crbug.com/676387#c8. (and then updated from SequenceChecker to ThreadChecker per request) BUG=676387 This CL was uploaded by git cl split. R=piman@chromium.org 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/2911113002 Cr-Commit-Position: refs/heads/master@{#475939} Committed: https://chromium.googlesource.com/chromium/src/+/c70ce762d963655ec12866e88f3f... ==========
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/c70ce762d963655ec12866e88f3f... |
