commit | d78aec7285779e1d983e209ed1a3ef98705f98d1 | [log] [tgz] |
---|---|---|
author | Rich Kadel <richkadel@google.com> | Fri Jan 11 21:36:13 2019 -0800 |
committer | Rich Kadel <richkadel@google.com> | Tue Jan 15 22:17:18 2019 -0800 |
tree | 8d0979e2f93e5c24a0d6f5047afe4ab401beddf5 | |
parent | 305778e169d856c2b5e189f2705980b54b5d84f9 [diff] |
[deprecated_loop] Support replacing std::function with fit::function Removing message_loop_unittest case: "TaskRunnerAvailableDuringLoopDestruction" With the new move-only semantics of fxl::Closure, this test no longer passes. The test only compiles if the test inner class "DestructorObserver" is copyable. If I make DestructorObserver a move-only class, or wrap in "make_unique<>", the assignments to "d" (which was in the original test case) fail to compile. This seems to indicate that the assignments are copying the DestructorObserver. Without making the copies, the destructor doesn't invoke the DestructorObserver callback and the tests fail. It's possible that the destructor was invoked for the original instance and not the instance assigned to "d", which was added to the task_runner. The test may not have been testing the intended behavior in the first place. (I may be wrong.) Since this "MessageLoop" class is deprecated anyway, and all other tests pass, I'm hoping this behavior is not relevant now, if it was ever relevant in the past. Test: message_loop_unittest Change-Id: I583e3824e694050158c352b59d8a0a5ae6961ca8
Topaz augments system functionality by implementing interfaces defined by underlying layers. Topaz contains four major categories of software: modules, agents, shells, and runners.
For example, modules include the dashboard, and runners include the Web, Dart, and Flutter runners.
Looking for something that used to be in this repository? The list below provides a code location and sha that can be used to checkout dead code that has been removed. Please note, it is unlikely the code will build or work correctly shas are provided for reference only. Code can be checked out with:
git checkout <sha> -- $FUCHSIA_DIR/<location>