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

Unified Diff: Source/WebKit/chromium/src/WebRuntimeFeatures.cpp

Issue 13674022: Remove MEDIA_SOURCE feature define. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@blink-master
Patch Set: Rebase Created 7 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 | « Source/WebKit/chromium/src/WebMediaSourceImpl.cpp ('k') | Tools/Scripts/webkitperl/FeatureList.pm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
diff --git a/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp b/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
index 87befc98fb8cf519feff4af22297f957ac5066e7..d3f95441255795f4083605c52fa66f8e7678e1ea 100644
--- a/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
+++ b/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
@@ -379,20 +379,12 @@ bool WebRuntimeFeatures::isFullScreenAPIEnabled()
void WebRuntimeFeatures::enableMediaSource(bool enable)
{
-#if ENABLE(MEDIA_SOURCE)
RuntimeEnabledFeatures::setMediaSourceEnabled(enable);
-#else
- UNUSED_PARAM(enable);
-#endif
}
bool WebRuntimeFeatures::isMediaSourceEnabled()
{
-#if ENABLE(MEDIA_SOURCE)
return RuntimeEnabledFeatures::mediaSourceEnabled();
-#else
- return false;
-#endif
}
void WebRuntimeFeatures::enableEncryptedMedia(bool enable)
« no previous file with comments | « Source/WebKit/chromium/src/WebMediaSourceImpl.cpp ('k') | Tools/Scripts/webkitperl/FeatureList.pm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698