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

Unified Diff: media/midi/midi_service.cc

Issue 2835083002: Web MIDI dynamic instantiation experiment-controlled rollouts: step 4 (Closed)
Patch Set: nits Created 3 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/midi/midi_service.cc
diff --git a/media/midi/midi_service.cc b/media/midi/midi_service.cc
index 722976263b667d8d856e2b1a9c5bd2dd83f7383d..160f7ae74a3f39437eb27feeedd6dffaf8b895ce 100644
--- a/media/midi/midi_service.cc
+++ b/media/midi/midi_service.cc
@@ -17,10 +17,10 @@ namespace {
bool IsDynamicInstantiationEnabled() {
// TODO(toyoshim): Support on all platforms. See https://crbug.com/672793.
#if defined(OS_LINUX) || defined(OS_WIN)
+ return true;
+#else
return base::FeatureList::IsEnabled(
features::kMidiManagerDynamicInstantiation);
-#else
- return false;
#endif
}
« 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