Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(420)

Unified Diff: mojo/edk/system/core_test_base.cc

Issue 1943123002: Make it possible to write a message pipe endpoint's peer into it. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | mojo/edk/system/core_unittest.cc » ('j') | mojo/edk/system/dispatcher.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/core_test_base.cc
diff --git a/mojo/edk/system/core_test_base.cc b/mojo/edk/system/core_test_base.cc
index d73706da464f6baffd47357416c4ddb9ec81f9d9..7df5fb79e410ac131b436b4a477724d7a9edb338 100644
--- a/mojo/edk/system/core_test_base.cc
+++ b/mojo/edk/system/core_test_base.cc
@@ -191,7 +191,10 @@ class MockDispatcher : public Dispatcher {
mutex().AssertHeld();
}
- RefPtr<Dispatcher> CreateEquivalentDispatcherAndCloseImplNoLock() override {
+ RefPtr<Dispatcher> CreateEquivalentDispatcherAndCloseImplNoLock(
+ MessagePipe* /*message_pipe*/,
+ unsigned /*port*/) override {
+ CancelAllAwakablesNoLock();
return Create(info_);
}
« no previous file with comments | « no previous file | mojo/edk/system/core_unittest.cc » ('j') | mojo/edk/system/dispatcher.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698