mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-15 03:00:30 +00:00
Attempting to fix nsCOMPtr .get() related bustage on Linux
This commit is contained in:
parent
524f11871b
commit
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");
|
||||
|
Loading…
Reference in New Issue
Block a user