blob: b273a11cd518aae09fa79cdc5ee00b0863936dc8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
commit 6b2dbc2b8216
Author: Bobby Holley <bobbyholley@gmail.com>
Date: Fri Sep 15 12:25:46 2017 -0700
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 dom/base/nsDocument.cpp dom/base/nsDocument.cpp
index 9d9af08ba04b..076fe1a5d444 100644
--- dom/base/nsDocument.cpp
+++ 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.
|