mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 14:58:37 +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
|
|
@ -6,8 +6,6 @@
|
|||
#include "nsTreeStyleCache.h"
|
||||
#include "nsStyleSet.h"
|
||||
#include "mozilla/dom/Element.h"
|
||||
#include "mozilla/StyleSetHandle.h"
|
||||
#include "mozilla/StyleSetHandleInlines.h"
|
||||
|
||||
nsTreeStyleCache::Transition::Transition(DFAState aState, nsIAtom* aSymbol)
|
||||
: mState(aState), mInputSymbol(aSymbol)
|
||||
|
|
@ -78,7 +76,7 @@ nsTreeStyleCache::GetStyleContext(nsICSSPseudoComparator* aComparator,
|
|||
}
|
||||
if (!result) {
|
||||
// We missed the cache. Resolve this pseudo-style.
|
||||
RefPtr<nsStyleContext> newResult = aPresContext->StyleSet()->AsGecko()->
|
||||
RefPtr<nsStyleContext> newResult = aPresContext->StyleSet()->
|
||||
ResolveXULTreePseudoStyle(aContent->AsElement(), aPseudoElement,
|
||||
aContext, aComparator);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue