mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 16:58:38 +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
|
|
@ -9,7 +9,6 @@
|
|||
#include "mozilla/GuardObjects.h"
|
||||
#include "mozilla/MouseEvents.h"
|
||||
#include "mozilla/Move.h"
|
||||
#include "mozilla/StyleSetHandleInlines.h"
|
||||
#include "nsAutoPtr.h"
|
||||
#include "nsBindingManager.h"
|
||||
#include "nsComponentManagerUtils.h"
|
||||
|
|
@ -115,8 +114,7 @@ AttachXBLBindings(nsIContent* aContent) {
|
|||
}
|
||||
|
||||
RefPtr<nsStyleContext> sc =
|
||||
shell->StyleSet()->AsGecko()->ResolveStyleFor(aContent->AsElement(),
|
||||
nullptr);
|
||||
shell->StyleSet()->ResolveStyleFor(aContent->AsElement(), nullptr);
|
||||
if (!sc) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue