зеркало из https://github.com/mozilla/pjs.git
Fixing DEBUG-only bustage.
This commit is contained in:
Родитель
6d22d3c842
Коммит
0e69051967
|
@ -10169,7 +10169,7 @@ nsCSSFrameConstructor::ProcessRestyledFrames(nsStyleChangeList& aChangeList,
|
|||
if (frame) {
|
||||
nsCOMPtr<nsIFrameManager> frameManager;
|
||||
shell->GetFrameManager(getter_AddRefs(frameManager));
|
||||
frameManager->DebugVerifyStyleTree(aPresContext, frame);
|
||||
frameManager->DebugVerifyStyleTree(frame);
|
||||
}
|
||||
} else {
|
||||
NS_WARNING("Unable to test style tree integrity -- no content node");
|
||||
|
|
|
@ -1406,7 +1406,7 @@ VerifyStyleTree(nsIPresContext* aPresContext, nsIFrameManager* aFrameManager)
|
|||
nsIFrame* rootFrame;
|
||||
|
||||
aFrameManager->GetRootFrame(&rootFrame);
|
||||
aFrameManager->DebugVerifyStyleTree(aPresContext, rootFrame);
|
||||
aFrameManager->DebugVerifyStyleTree(rootFrame);
|
||||
}
|
||||
}
|
||||
#define VERIFY_STYLE_TREE VerifyStyleTree(mPresContext, mFrameManager)
|
||||
|
|
|
@ -1406,7 +1406,7 @@ VerifyStyleTree(nsIPresContext* aPresContext, nsIFrameManager* aFrameManager)
|
|||
nsIFrame* rootFrame;
|
||||
|
||||
aFrameManager->GetRootFrame(&rootFrame);
|
||||
aFrameManager->DebugVerifyStyleTree(aPresContext, rootFrame);
|
||||
aFrameManager->DebugVerifyStyleTree(rootFrame);
|
||||
}
|
||||
}
|
||||
#define VERIFY_STYLE_TREE VerifyStyleTree(mPresContext, mFrameManager)
|
||||
|
|
|
@ -10169,7 +10169,7 @@ nsCSSFrameConstructor::ProcessRestyledFrames(nsStyleChangeList& aChangeList,
|
|||
if (frame) {
|
||||
nsCOMPtr<nsIFrameManager> frameManager;
|
||||
shell->GetFrameManager(getter_AddRefs(frameManager));
|
||||
frameManager->DebugVerifyStyleTree(aPresContext, frame);
|
||||
frameManager->DebugVerifyStyleTree(frame);
|
||||
}
|
||||
} else {
|
||||
NS_WARNING("Unable to test style tree integrity -- no content node");
|
||||
|
|
Загрузка…
Ссылка в новой задаче