mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1236920 - remvoed usless null check on aKidFrame in order to silence Coveirty warning. r=mwoodrow
This commit is contained in:
parent
7a7bbbb341
commit
37f20535b6
@ -354,11 +354,9 @@ nsAbsoluteContainingBlock::ReflowAbsoluteFrame(nsIFrame* aDelegat
|
||||
if (nsBlockFrame::gNoisyReflow) {
|
||||
nsFrame::IndentBy(stdout,nsBlockFrame::gNoiseIndent);
|
||||
printf("abs pos ");
|
||||
if (aKidFrame) {
|
||||
nsAutoString name;
|
||||
aKidFrame->GetFrameName(name);
|
||||
printf("%s ", NS_LossyConvertUTF16toASCII(name).get());
|
||||
}
|
||||
nsAutoString name;
|
||||
aKidFrame->GetFrameName(name);
|
||||
printf("%s ", NS_LossyConvertUTF16toASCII(name).get());
|
||||
|
||||
char width[16];
|
||||
char height[16];
|
||||
@ -510,11 +508,9 @@ nsAbsoluteContainingBlock::ReflowAbsoluteFrame(nsIFrame* aDelegat
|
||||
if (nsBlockFrame::gNoisyReflow) {
|
||||
nsFrame::IndentBy(stdout,nsBlockFrame::gNoiseIndent - 1);
|
||||
printf("abs pos ");
|
||||
if (aKidFrame) {
|
||||
nsAutoString name;
|
||||
aKidFrame->GetFrameName(name);
|
||||
printf("%s ", NS_LossyConvertUTF16toASCII(name).get());
|
||||
}
|
||||
nsAutoString name;
|
||||
aKidFrame->GetFrameName(name);
|
||||
printf("%s ", NS_LossyConvertUTF16toASCII(name).get());
|
||||
printf("%p rect=%d,%d,%d,%d\n", static_cast<void*>(aKidFrame),
|
||||
r.x, r.y, r.width, r.height);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user