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

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

Issue 2490403002: Mojo Bindings: Reset EDK error callback in ReportBadMessageTest::TearDown (Closed)
Patch Set: Created 4 years, 1 month 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/bindings/tests/report_bad_message_unittest.cc
diff --git a/mojo/public/cpp/bindings/tests/report_bad_message_unittest.cc b/mojo/public/cpp/bindings/tests/report_bad_message_unittest.cc
index a132ea4159fbbd54a4720855a1327777c77af7f1..cf33df1c82fce3daefba0e94df389f825f205b39 100644
--- a/mojo/public/cpp/bindings/tests/report_bad_message_unittest.cc
+++ b/mojo/public/cpp/bindings/tests/report_bad_message_unittest.cc
@@ -69,6 +69,11 @@ class ReportBadMessageTest : public testing::Test {
impl_.BindImpl(GetProxy(&proxy_));
}
+ void TearDown() override {
+ mojo::edk::SetDefaultProcessErrorCallback(
+ mojo::edk::ProcessErrorCallback());
+ }
+
TestBadMessages* proxy() { return proxy_.get(); }
TestBadMessagesImpl* impl() { return &impl_; }
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698