Bug 1567329 - Change some mentions of StaticPrefList.h to StaticPrefList.yaml. r=erahm
This is fall-out from bug 1564724. Differential Revision: https://phabricator.services.mozilla.com/D38602
This commit is contained in:
@@ -31,8 +31,7 @@ const { getComputedStyle } = require("./markup");
|
||||
// This canvas size value is the safest we can use because most GPUs can handle it.
|
||||
// It's also far from the maximum canvas memory allocation limit (4096x4096x4 is
|
||||
// 67.108.864 bytes, where the limit is 500.000.000 bytes, see
|
||||
// gfx_max_alloc_size_do_not_use_directly in:
|
||||
// modules/libpref/init/StaticPrefList.h.
|
||||
// gfx_max_alloc_size in modules/libpref/init/StaticPrefList.yaml.
|
||||
//
|
||||
// Note:
|
||||
// Once bug 1232491 lands, we could try to refactor this code to use the values from
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
* such as browser/app/profile/firefox.js or mobile/android/app/mobile.js.
|
||||
*
|
||||
* NOTE: Not all prefs should be defined in this (or any other) data file.
|
||||
* Static prefs, especially VarCache prefs, are defined in StaticPrefList.h.
|
||||
* Static prefs, especially VarCache prefs, are defined in StaticPrefList.yaml.
|
||||
* Those prefs should *not* appear in this file.
|
||||
*
|
||||
* For the syntax used by this file, consult the comments at the top of
|
||||
@@ -894,7 +894,7 @@ pref("toolkit.asyncshutdown.log", false);
|
||||
pref("toolkit.content-background-hang-monitor.disabled", false);
|
||||
|
||||
// Enable JS dump() function.
|
||||
// IMPORTANT: Keep this in condition in sync with StaticPrefList.h. The value
|
||||
// IMPORTANT: Keep this in condition in sync with StaticPrefList.yaml. The value
|
||||
// of MOZILLA_OFFICIAL is different between full and artifact builds, so without
|
||||
// it being specified, dump is disabled in artifact builds (see Bug 1490412).
|
||||
#ifdef MOZILLA_OFFICIAL
|
||||
|
||||
Reference in New Issue
Block a user