зеркало из https://github.com/mozilla/gecko-dev.git
Attempting to fix nsCOMPtr .get() related bustage on Linux
This commit is contained in:
Родитель
524f11871b
Коммит
84688e0640
|
@ -1293,7 +1293,7 @@ FrameManager::ReResolveStyleContext(nsIPresContext* aPresContext,
|
|||
// only do frames that are in flow
|
||||
nsCOMPtr<nsIAtom> frameType;
|
||||
child->GetFrameType(getter_AddRefs(frameType));
|
||||
if (nsLayoutAtoms::placeholderFrame == frameType) { // placeholder
|
||||
if (nsLayoutAtoms::placeholderFrame == frameType.get()) { // placeholder
|
||||
// get out of flow frame and recurse there
|
||||
nsIFrame* outOfFlowFrame = ((nsPlaceholderFrame*)child)->GetOutOfFlowFrame();
|
||||
NS_ASSERTION(outOfFlowFrame, "no out-of-flow frame");
|
||||
|
|
|
@ -1293,7 +1293,7 @@ FrameManager::ReResolveStyleContext(nsIPresContext* aPresContext,
|
|||
// only do frames that are in flow
|
||||
nsCOMPtr<nsIAtom> frameType;
|
||||
child->GetFrameType(getter_AddRefs(frameType));
|
||||
if (nsLayoutAtoms::placeholderFrame == frameType) { // placeholder
|
||||
if (nsLayoutAtoms::placeholderFrame == frameType.get()) { // placeholder
|
||||
// get out of flow frame and recurse there
|
||||
nsIFrame* outOfFlowFrame = ((nsPlaceholderFrame*)child)->GetOutOfFlowFrame();
|
||||
NS_ASSERTION(outOfFlowFrame, "no out-of-flow frame");
|
||||
|
|
Загрузка…
Ссылка в новой задаче