mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 908778 - Don't #include nsRegion.h in nsIFrame.h; r=mats
This commit is contained in:
parent
1b1e8f296f
commit
9b11a89362
@ -9,6 +9,7 @@
|
||||
#include "nsPresContext.h"
|
||||
#include "nsCSSRendering.h"
|
||||
#include "nsLayoutUtils.h"
|
||||
#include "nsRegion.h"
|
||||
|
||||
namespace mozilla {
|
||||
|
||||
|
@ -11,6 +11,7 @@
|
||||
#include "nsEventListenerManager.h"
|
||||
#include "nsPrintfCString.h"
|
||||
#include "mozilla/dom/Element.h"
|
||||
#include "nsRegion.h"
|
||||
#include <algorithm>
|
||||
|
||||
namespace mozilla {
|
||||
|
@ -75,6 +75,7 @@
|
||||
#include "nsAbsoluteContainingBlock.h"
|
||||
#include "nsFontInflationData.h"
|
||||
#include "gfxASurface.h"
|
||||
#include "nsRegion.h"
|
||||
|
||||
#include "mozilla/Preferences.h"
|
||||
#include "mozilla/LookAndFeel.h"
|
||||
@ -8127,6 +8128,12 @@ nsIFrame::DestroySurface(void* aPropertyValue)
|
||||
static_cast<gfxASurface*>(aPropertyValue)->Release();
|
||||
}
|
||||
|
||||
void
|
||||
nsIFrame::DestroyRegion(void* aPropertyValue)
|
||||
{
|
||||
delete static_cast<nsRegion*>(aPropertyValue);
|
||||
}
|
||||
|
||||
// Box layout debugging
|
||||
#ifdef DEBUG_REFLOW
|
||||
int32_t gIndent2 = 0;
|
||||
|
@ -22,7 +22,6 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include "nsQueryFrame.h"
|
||||
#include "nsRegion.h"
|
||||
#include "nsStyleContext.h"
|
||||
#include "nsStyleStruct.h"
|
||||
#include "nsStyleStructFwd.h"
|
||||
@ -867,10 +866,7 @@ public:
|
||||
: GetPosition();
|
||||
}
|
||||
|
||||
static void DestroyRegion(void* aPropertyValue)
|
||||
{
|
||||
delete static_cast<nsRegion*>(aPropertyValue);
|
||||
}
|
||||
static void DestroyRegion(void* aPropertyValue);
|
||||
|
||||
static void DestroyMargin(void* aPropertyValue)
|
||||
{
|
||||
|
@ -10,6 +10,7 @@
|
||||
#include "gfxMatrix.h"
|
||||
#include "nsISVGSVGFrame.h"
|
||||
#include "nsSVGContainerFrame.h"
|
||||
#include "nsRegion.h"
|
||||
|
||||
class nsSVGForeignObjectFrame;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user