Bug 1398983 - Remove warning about assuming gecko style system. r=me

MozReview-Commit-ID: BCeG81uxLvS
This commit is contained in:
Bobby Holley 2017-09-15 12:25:46 -07:00
Родитель 0b357acd98
Коммит 6b2dbc2b82
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -13490,7 +13490,8 @@ nsIDocument::UpdateStyleBackendType()
// Enable stylo for SVG-as-image.
mStyleBackendType = StyleBackendType::Servo;
} else if (!mDocumentContainer) {
NS_WARNING("stylo: No docshell yet, assuming Gecko style system");
// Not docshell, assume Gecko. Various callers can end up setting this
// explicitly afterwards to inherit it in various situations.
} else if (!IsXULDocument() && IsContentDocument()) {
// Disable stylo for about: pages other than about:blank, since
// they tend to use unsupported selectors like XUL tree pseudos.