File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Source/WebKit/UIProcess/API/glib Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -1403,7 +1403,11 @@ static void webkit_settings_class_init(WebKitSettingsClass* klass)
14031403 " enable-media-stream" ,
14041404 _ (" Enable MediaStream" ),
14051405 _ (" Whether MediaStream content should be handled" ),
1406+ #if ENABLE(MEDIA_STREAM)
14061407 FEATURE_DEFAULT (MediaStreamEnabled),
1408+ #else
1409+ FALSE ,
1410+ #endif
14071411 readWriteConstructParamFlags);
14081412
14091413 /* *
@@ -1419,7 +1423,11 @@ static void webkit_settings_class_init(WebKitSettingsClass* klass)
14191423 g_param_spec_boolean (" enable-mock-capture-devices" ,
14201424 _ (" Enable mock capture devices" ),
14211425 _ (" Whether we expose mock capture devices or not" ),
1426+ #if ENABLE(MEDIA_STREAM)
14221427 FEATURE_DEFAULT (MockCaptureDevicesEnabled),
1428+ #else
1429+ FALSE ,
1430+ #endif
14231431 readWriteConstructParamFlags);
14241432
14251433 /* *
You can’t perform that action at this time.
0 commit comments