mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 908778 - Don't #include gfxASurface.h in nsIFrame.h; r=mats
This commit is contained in:
parent
2d782339fa
commit
1b1e8f296f
@ -74,6 +74,7 @@
|
||||
#include "nsRenderingContext.h"
|
||||
#include "nsAbsoluteContainingBlock.h"
|
||||
#include "nsFontInflationData.h"
|
||||
#include "gfxASurface.h"
|
||||
|
||||
#include "mozilla/Preferences.h"
|
||||
#include "mozilla/LookAndFeel.h"
|
||||
@ -8120,6 +8121,12 @@ nsIFrame::IsSelected() const
|
||||
IsFrameSelected() : false;
|
||||
}
|
||||
|
||||
void
|
||||
nsIFrame::DestroySurface(void* aPropertyValue)
|
||||
{
|
||||
static_cast<gfxASurface*>(aPropertyValue)->Release();
|
||||
}
|
||||
|
||||
// Box layout debugging
|
||||
#ifdef DEBUG_REFLOW
|
||||
int32_t gIndent2 = 0;
|
||||
|
@ -36,7 +36,6 @@
|
||||
#include <algorithm>
|
||||
#include "nsITheme.h"
|
||||
#include "gfx3DMatrix.h"
|
||||
#include "gfxASurface.h"
|
||||
|
||||
#ifdef ACCESSIBILITY
|
||||
#include "mozilla/a11y/AccTypes.h"
|
||||
@ -893,10 +892,7 @@ public:
|
||||
delete static_cast<nsOverflowAreas*>(aPropertyValue);
|
||||
}
|
||||
|
||||
static void DestroySurface(void* aPropertyValue)
|
||||
{
|
||||
static_cast<gfxASurface*>(aPropertyValue)->Release();
|
||||
}
|
||||
static void DestroySurface(void* aPropertyValue);
|
||||
|
||||
#ifdef _MSC_VER
|
||||
// XXX Workaround MSVC issue by making the static FramePropertyDescriptor
|
||||
|
Loading…
Reference in New Issue
Block a user