Bug 1100773 patch 2 - Convert style rule List methods to use fprintf_stderr. r=heycam
Note that getting decent logcat output on Android and B2G requires not splitting lines of output across multiple fprintf_stderr calls.
This commit is contained in:
@@ -171,10 +171,11 @@ BodyRule::MapRuleInfoInto(nsRuleData* aData)
|
||||
/* virtual */ void
|
||||
BodyRule::List(FILE* out, int32_t aIndent) const
|
||||
{
|
||||
nsAutoCString indent;
|
||||
for (int32_t index = aIndent; --index >= 0; ) {
|
||||
fputs(" ", out);
|
||||
indent.AppendLiteral(" ");
|
||||
}
|
||||
fputs("[body rule] {}\n", out);
|
||||
fprintf_stderr(out, "%s[body rule] {}\n", indent.get());
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user