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

Unified Diff: media/midi/java/src/org/chromium/midi/MidiManagerAndroid.java

Issue 2507153002: Revert of Add GN build rules to allow java_assertion_enabler to enable Java asserts. (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 | « media/base/android/java/src/org/chromium/media/MediaCodecBridge.java ('k') | third_party/ow2_asm/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/midi/java/src/org/chromium/midi/MidiManagerAndroid.java
diff --git a/media/midi/java/src/org/chromium/midi/MidiManagerAndroid.java b/media/midi/java/src/org/chromium/midi/MidiManagerAndroid.java
index 6f817c5f042853cafe49633866609367a3c783a0..410fbbd0039fe75f735950086dff923187e47a27 100644
--- a/media/midi/java/src/org/chromium/midi/MidiManagerAndroid.java
+++ b/media/midi/java/src/org/chromium/midi/MidiManagerAndroid.java
@@ -67,8 +67,7 @@
* @param nativeManagerPointer The native pointer to a midi::MidiManagerAndroid object.
*/
private MidiManagerAndroid(Context context, long nativeManagerPointer) {
- // TODO(crbug.com/665157)
- // assert ThreadUtils.runningOnUiThread();
+ assert ThreadUtils.runningOnUiThread();
mManager = (MidiManager) context.getSystemService(Context.MIDI_SERVICE);
mHandler = new Handler(ThreadUtils.getUiThreadLooper());
« no previous file with comments | « media/base/android/java/src/org/chromium/media/MediaCodecBridge.java ('k') | third_party/ow2_asm/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698