Bug 1469738 - Part 3: Change "sc" (style context) to "cs" (computed style) in frame tree dumps. r=xidorn
authorCameron McCormack <cam@mcc.id.au>
Tue, 05 Jun 2018 16:40:07 +1000
changeset 423084 d5d0c79873cd6db8dabdc6a336c9fbc2fe5fe785
parent 423083 1e3f098cc0de84cc20e49bdff1a3eb67decea477
child 423085 2111f47f89cc1512e1f10454626faf2c7355e0fe
push id65342
push userapavel@mozilla.com
push dateWed, 20 Jun 2018 11:30:38 +0000
treeherderautoland@dadc58a65c2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersxidorn
bugs1469738
milestone62.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1469738 - Part 3: Change "sc" (style context) to "cs" (computed style) in frame tree dumps. r=xidorn MozReview-Commit-ID: 9tpKeE2YdzM
layout/generic/nsFrame.cpp
--- a/layout/generic/nsFrame.cpp
+++ b/layout/generic/nsFrame.cpp
@@ -7744,17 +7744,17 @@ nsIFrame::ListGeneric(nsACString& aTo, c
     aTo += nsPrintfCString(" extend-3d");
   }
   if (Combines3DTransformWithAncestors()) {
     aTo += nsPrintfCString(" combines-3d-transform-with-ancestors");
   }
   if (mContent) {
     aTo += nsPrintfCString(" [content=%p]", static_cast<void*>(mContent));
   }
-  aTo += nsPrintfCString(" [sc=%p", static_cast<void*>(mComputedStyle));
+  aTo += nsPrintfCString(" [cs=%p", static_cast<void*>(mComputedStyle));
   if (mComputedStyle) {
     nsAtom* pseudoTag = mComputedStyle->GetPseudo();
     if (pseudoTag) {
       nsAutoString atomString;
       pseudoTag->ToString(atomString);
       aTo += nsPrintfCString("%s", NS_LossyConvertUTF16toASCII(atomString).get());
     }
   }