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

Unified Diff: content/browser/media/midi_host_unittest.cc

Issue 1145013004: Introduce bad_message.h for chrome and NaCl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove newline Created 5 years, 7 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: content/browser/media/midi_host_unittest.cc
diff --git a/content/browser/media/midi_host_unittest.cc b/content/browser/media/midi_host_unittest.cc
index 29f079669a2a349e935016a53ed79e828ad86150..bfe0c2f051bcaf41e12fac2500d3e3bc96412ebd 100644
--- a/content/browser/media/midi_host_unittest.cc
+++ b/content/browser/media/midi_host_unittest.cc
@@ -91,10 +91,10 @@ class MidiHostForTesting : public MidiHost {
~MidiHostForTesting() override {}
// BrowserMessageFilter implementation.
- // Override BadMessageReceived() so to do nothing since the original
+ // Override ShutdownForBadMessage() to do nothing since the original
// implementation to kill a malicious renderer process causes a check failure
// in unit tests.
- void BadMessageReceived() override {}
+ void ShutdownForBadMessage() override {}
};
class MidiHostTest : public testing::Test {

Powered by Google App Engine
This is Rietveld 408576698