Bug 1469738 - Part 3: Change "sc" (style context) to "cs" (computed style) in frame tree dumps. r?xidorn draft
authorCameron McCormack <cam@mcc.id.au>
Tue, 05 Jun 2018 16:40:07 +1000
changeset 808588 65821feb6358421ec9592320d5f739161c55f86c
parent 808587 8e42edb81336fcc17861b8cc228ba7ab788dd92a
child 808658 18c40f4553e7a29855b18bfcbd09829758cc1403
child 809073 42a6b3f32e05b910824db5e57d9c6d1227cc9639
child 809786 7cae9923a8404da7fcec2227c1d53494c98dd2f0
child 809792 f23e38381ed47990c4fe95823f0ce66cec9908ef
push id113428
push userbmo:cam@mcc.id.au
push dateWed, 20 Jun 2018 01:08:20 +0000
reviewersxidorn
bugs1469738
milestone62.0a1
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());
     }
   }