Bug 935778 - Part 0.1: Uninline nsIPresShell::SetForwardingContainer so that it won't need the full definition of nsDocShell; r=bzbarsky

This commit is contained in:
Ehsan Akhgari 2014-02-21 14:44:43 -05:00
Родитель fd28c64ab6
Коммит 70ae8680ba
2 изменённых файлов: 8 добавлений и 5 удалений

Просмотреть файл

@ -976,11 +976,8 @@ public:
* user events at the docshell's parent. This pointer allows us to do that.
* It should not be used for any other purpose.
*/
void SetForwardingContainer(const mozilla::WeakPtr<nsDocShell> &aContainer)
{
mForwardingContainer = aContainer;
}
void SetForwardingContainer(const mozilla::WeakPtr<nsDocShell> &aContainer);
/**
* Render the document into an arbitrary gfxContext
* Designed for getting a picture of a document or a piece of a document

Просмотреть файл

@ -2863,6 +2863,12 @@ nsIPresShell::RestyleForAnimation(Element* aElement, nsRestyleHint aHint)
NS_STYLE_HINT_NONE);
}
void
nsIPresShell::SetForwardingContainer(const WeakPtr<nsDocShell> &aContainer)
{
mForwardingContainer = aContainer;
}
void
PresShell::ClearFrameRefs(nsIFrame* aFrame)
{