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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 14582024: Change media source switch to refer to the prefixed API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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/renderer/render_thread_impl.cc
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index 2896a5496be4a6daa2e2f819ea603d10ad8aebb4..f10fce2e4d4687eb7fdf70c1284e5717583f7aa4 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -624,7 +624,7 @@ void RenderThreadImpl::WidgetRestored() {
static void AdjustRuntimeFeatureDefaultsForPlatform() {
#if defined(OS_ANDROID) && !defined(GOOGLE_TV)
- WebRuntimeFeatures::enableMediaSource(false);
+ WebRuntimeFeatures::enableWebKitMediaSource(false);
#endif
#if defined(OS_ANDROID)
@@ -658,8 +658,8 @@ static void AdjustRuntimeFeaturesFromArgs(const CommandLine& command_line) {
WebRuntimeFeatures::enableGeolocation(false);
#if !defined(OS_ANDROID) || defined(GOOGLE_TV)
- if (command_line.HasSwitch(switches::kDisableMediaSource))
- WebRuntimeFeatures::enableMediaSource(false);
+ if (command_line.HasSwitch(switches::kDisableWebKitMediaSource))
+ WebRuntimeFeatures::enableWebKitMediaSource(false);
#endif
#if defined(OS_ANDROID)
« content/public/common/content_switches.cc ('K') | « content/public/common/content_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698