mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
Remove dependency on nsInlineFrame::kInlineFrameCID. r/sr=alecf. Bug 74803
This commit is contained in:
parent
defd631ba0
commit
36bb639d8d
@ -47,6 +47,8 @@
|
||||
#include "nsMathMLContainerFrame.h"
|
||||
#include "nsAutoPtr.h"
|
||||
|
||||
NS_DEFINE_CID(kInlineFrameCID, NS_INLINE_FRAME_CID);
|
||||
|
||||
//
|
||||
// nsMathMLContainerFrame implementation
|
||||
//
|
||||
@ -722,7 +724,7 @@ nsMathMLContainerFrame::WrapForeignFrames(nsIPresContext* aPresContext)
|
||||
nsIFrame* child = next;
|
||||
next->GetNextSibling(&next);
|
||||
nsInlineFrame* inlineFrame;
|
||||
child->QueryInterface(nsInlineFrame::kInlineFrameCID, (void**)&inlineFrame);
|
||||
child->QueryInterface(kInlineFrameCID, (void**)&inlineFrame);
|
||||
if (inlineFrame) {
|
||||
// create a new wrapper frame to wrap this child
|
||||
nsCOMPtr<nsIPresShell> shell;
|
||||
|
Loading…
Reference in New Issue
Block a user