mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 08:48:39 +09:00
Issue #2488 - Part 3: Remove the StyleSetHandle smart pointer class
This commit is contained in:
parent
4d7bdedade
commit
4bf43b8fb4
58 changed files with 155 additions and 589 deletions
|
|
@ -31,8 +31,6 @@
|
|||
#include "RubyUtils.h"
|
||||
#include "mozilla/Preferences.h"
|
||||
#include "mozilla/ArenaObjectID.h"
|
||||
#include "mozilla/StyleSetHandle.h"
|
||||
#include "mozilla/StyleSetHandleInlines.h"
|
||||
|
||||
#include "mozilla/ReflowInput.h"
|
||||
#include "nsLayoutUtils.h"
|
||||
|
|
@ -160,7 +158,7 @@ nsStyleContext::~nsStyleContext()
|
|||
#endif
|
||||
|
||||
nsPresContext *presContext = PresContext();
|
||||
DebugOnly<nsStyleSet*> styleSet = presContext->PresShell()->StyleSet()->GetAsGecko();
|
||||
DebugOnly<nsStyleSet*> styleSet = presContext->PresShell()->StyleSet();
|
||||
NS_ASSERTION(!styleSet ||
|
||||
styleSet->GetRuleTree() == mRuleNode->RuleTree() ||
|
||||
styleSet->IsInRuleTreeReconstruct(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue