зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1636974 - Unbust base toolchain builds by working around a GCC bug. CLOSED TREE
MANUAL PUSH: Unbust base toolchain builds, CLOSED TREE
This commit is contained in:
Родитель
ed46f1f078
Коммит
52792dc151
|
@ -206,7 +206,7 @@ class Loader final {
|
|||
nsIURI*, SheetParsingMode = eAuthorSheetFeatures,
|
||||
UseSystemPrincipal = UseSystemPrincipal::No);
|
||||
|
||||
enum class IsPreload {
|
||||
enum class IsPreload : uint8_t {
|
||||
No,
|
||||
// This is a speculative load initiated by a <link rel=stylesheet> tag
|
||||
// scanned by the parser, or @import rules found in a <style> tag.
|
||||
|
|
|
@ -180,7 +180,11 @@ class SheetLoadData final : public nsIRunnable, public nsIThreadObserver {
|
|||
bool mLoadFailed : 1;
|
||||
|
||||
// Whether this is a preload, and which kind of preload it is.
|
||||
const IsPreload mIsPreload : 2;
|
||||
//
|
||||
// TODO(emilio): This can become a bitfield once we build with a GCC version
|
||||
// that has the fix for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61414,
|
||||
// which causes a false positive warning here.
|
||||
const IsPreload mIsPreload;
|
||||
|
||||
// This is the element that imported the sheet. Needed to get the
|
||||
// charset set on it and to fire load/error events.
|
||||
|
|
Загрузка…
Ссылка в новой задаче