mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-13 18:57:29 +09:00
import changes from win7-7/UXP:
bug1347737, bug1365982, bug1367206
This commit is contained in:
parent
c2b2ce2c5c
commit
0f035317a3
96 changed files with 1525 additions and 1329 deletions
|
|
@ -24,9 +24,6 @@
|
|||
#define NS_FRAME_NO_DELETE_NEXT_IN_FLOW_CHILD 0x0010
|
||||
|
||||
class nsOverflowContinuationTracker;
|
||||
namespace mozilla {
|
||||
class FramePropertyTable;
|
||||
} // namespace mozilla
|
||||
|
||||
// Some macros for container classes to do sanity checking on
|
||||
// width/height/x/y values computed during reflow.
|
||||
|
|
@ -548,7 +545,7 @@ public:
|
|||
// Use this to suppress the CRAZY_SIZE assertions.
|
||||
NS_DECLARE_FRAME_PROPERTY_SMALL_VALUE(DebugReflowingWithInfiniteISize, bool)
|
||||
bool IsCrazySizeAssertSuppressed() const {
|
||||
return Properties().Get(DebugReflowingWithInfiniteISize());
|
||||
return GetProperty(DebugReflowingWithInfiniteISize());
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
@ -716,7 +713,6 @@ protected:
|
|||
*/
|
||||
void SafelyDestroyFrameListProp(nsIFrame* aDestructRoot,
|
||||
nsIPresShell* aPresShell,
|
||||
mozilla::FramePropertyTable* aPropTable,
|
||||
FrameListPropertyDescriptor aProp);
|
||||
|
||||
// ==========================================================================
|
||||
|
|
@ -898,7 +894,7 @@ inline
|
|||
nsFrameList*
|
||||
nsContainerFrame::GetOverflowFrames() const
|
||||
{
|
||||
nsFrameList* list = Properties().Get(OverflowProperty());
|
||||
nsFrameList* list = GetProperty(OverflowProperty());
|
||||
NS_ASSERTION(!list || !list->IsEmpty(), "Unexpected empty overflow list");
|
||||
return list;
|
||||
}
|
||||
|
|
@ -907,7 +903,7 @@ inline
|
|||
nsFrameList*
|
||||
nsContainerFrame::StealOverflowFrames()
|
||||
{
|
||||
nsFrameList* list = Properties().Remove(OverflowProperty());
|
||||
nsFrameList* list = RemoveProperty(OverflowProperty());
|
||||
NS_ASSERTION(!list || !list->IsEmpty(), "Unexpected empty overflow list");
|
||||
return list;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue