File tree 1 file changed +8
-0
lines changed
Source/WebKit/UIProcess/API/glib
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)
1403
1403
" enable-media-stream" ,
1404
1404
_ (" Enable MediaStream" ),
1405
1405
_ (" Whether MediaStream content should be handled" ),
1406
+ #if ENABLE(MEDIA_STREAM)
1406
1407
FEATURE_DEFAULT (MediaStreamEnabled),
1408
+ #else
1409
+ FALSE ,
1410
+ #endif
1407
1411
readWriteConstructParamFlags);
1408
1412
1409
1413
/* *
@@ -1419,7 +1423,11 @@ static void webkit_settings_class_init(WebKitSettingsClass* klass)
1419
1423
g_param_spec_boolean (" enable-mock-capture-devices" ,
1420
1424
_ (" Enable mock capture devices" ),
1421
1425
_ (" Whether we expose mock capture devices or not" ),
1426
+ #if ENABLE(MEDIA_STREAM)
1422
1427
FEATURE_DEFAULT (MockCaptureDevicesEnabled),
1428
+ #else
1429
+ FALSE ,
1430
+ #endif
1423
1431
readWriteConstructParamFlags);
1424
1432
1425
1433
/* *
You can’t perform that action at this time.
0 commit comments