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

Unified Diff: mojo/system/core_test_base.cc

Issue 140403002: Mojo: Add the ability to hook up a channel to the embedder API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win Created 6 years, 11 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 | « mojo/system/core_impl.cc ('k') | mojo/system/embedder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/system/core_test_base.cc
diff --git a/mojo/system/core_test_base.cc b/mojo/system/core_test_base.cc
index e7023219e62b1fec31b85ea899fd706f23e4a943..892351ad96ba81c0fd21c0d59516089d82cd352f 100644
--- a/mojo/system/core_test_base.cc
+++ b/mojo/system/core_test_base.cc
@@ -176,8 +176,7 @@ void CoreTestBase::TearDown() {
MojoHandle CoreTestBase::CreateMockHandle(CoreTestBase::MockHandleInfo* info) {
CHECK(core_);
scoped_refptr<MockDispatcher> dispatcher(new MockDispatcher(info));
- base::AutoLock locker(core_->handle_table_lock_);
- return core_->AddDispatcherNoLock(dispatcher);
+ return core_->AddDispatcher(dispatcher);
}
// CoreTestBase_MockHandleInfo -------------------------------------------------
« no previous file with comments | « mojo/system/core_impl.cc ('k') | mojo/system/embedder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698