mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
Issue #2488 - Part 4: Remove the RestyleManagerHandle smart pointer class
This commit is contained in:
parent
4bf43b8fb4
commit
6803c1f710
24 changed files with 55 additions and 414 deletions
|
|
@ -46,8 +46,6 @@
|
|||
#include "mozilla/dom/Performance.h"
|
||||
#include "mozilla/dom/WindowBinding.h"
|
||||
#include "mozilla/RestyleManager.h"
|
||||
#include "mozilla/RestyleManagerHandle.h"
|
||||
#include "mozilla/RestyleManagerHandleInlines.h"
|
||||
#include "Layers.h"
|
||||
#include "imgIContainer.h"
|
||||
#include "mozilla/dom/ScriptSettings.h"
|
||||
|
|
@ -1696,7 +1694,7 @@ nsRefreshDriver::Tick(int64_t aNowEpoch, TimeStamp aNowTime)
|
|||
|
||||
nsCOMPtr<nsIPresShell> shellKungFuDeathGrip(shell);
|
||||
mStyleFlushObservers.RemoveElement(shell);
|
||||
RestyleManagerHandle restyleManager =
|
||||
RestyleManager* restyleManager =
|
||||
shell->GetPresContext()->RestyleManager();
|
||||
restyleManager->SetObservingRefreshDriver(false);
|
||||
shell->FlushPendingNotifications(ChangesToFlush(Flush_Style, false));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue