From 6b2dbc2b8216ff3466a864ea1eb817ae26d1b366 Mon Sep 17 00:00:00 2001 From: Bobby Holley Date: Fri, 15 Sep 2017 12:25:46 -0700 Subject: [PATCH] Bug 1398983 - Remove warning about assuming gecko style system. r=me MozReview-Commit-ID: BCeG81uxLvS --- dom/base/nsDocument.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dom/base/nsDocument.cpp b/dom/base/nsDocument.cpp index 9d9af08ba04b..076fe1a5d444 100644 --- a/dom/base/nsDocument.cpp +++ b/dom/base/nsDocument.cpp @@ -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.