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

Unified Diff: mojo/public/cpp/bindings/tests/binding_callback_unittest.cc

Issue 1819463002: Make mojo::Callback safe to copy across threads. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix destruction. Created 4 years, 9 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
Index: mojo/public/cpp/bindings/tests/binding_callback_unittest.cc
diff --git a/mojo/public/cpp/bindings/tests/binding_callback_unittest.cc b/mojo/public/cpp/bindings/tests/binding_callback_unittest.cc
index 8dbdb8cc7556e61cf5648d4a31d9570f8b4de2a9..eb5190477e55a769ff79d381e7d371248759efd5 100644
--- a/mojo/public/cpp/bindings/tests/binding_callback_unittest.cc
+++ b/mojo/public/cpp/bindings/tests/binding_callback_unittest.cc
@@ -338,7 +338,7 @@ TEST_F(BindingCallbackTest, DeleteCallbackBeforeBindingDeathTest) {
#if !defined(NDEBUG) || defined(DCHECK_ALWAYS_ON)
// Delete the callback without running it. This should cause a crash in debug
// builds due to a DCHECK.
- std::string regex("Check failed: !callback_was_dropped.");
+ std::string regex("Check failed: false");
#if defined(OS_WIN)
// TODO(msw): Fix MOJO_DCHECK logs and EXPECT_DEATH* on Win: crbug.com/535014
regex.clear();

Powered by Google App Engine
This is Rietveld 408576698