mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 808428 - RuntimeService now calls nsLayoutStatics::AddRef/Release. r=khuey
--HG-- extra : rebase_source : 7bd5b6c7c9ddcb2cb5ec619c18fa1f75c4fb1f15
This commit is contained in:
parent
012feb0947
commit
6a3d40f2ec
@ -19,6 +19,7 @@
|
||||
#include "nsISupportsPriority.h"
|
||||
#include "nsITimer.h"
|
||||
#include "nsPIDOMWindow.h"
|
||||
#include "nsLayoutStatics.h"
|
||||
|
||||
#include "jsdbgapi.h"
|
||||
#include "mozilla/dom/EventTargetBinding.h"
|
||||
@ -1001,6 +1002,7 @@ nsresult
|
||||
RuntimeService::Init()
|
||||
{
|
||||
AssertIsOnMainThread();
|
||||
nsLayoutStatics::AddRef();
|
||||
|
||||
mIdleThreadTimer = do_CreateInstance(NS_TIMER_CONTRACTID);
|
||||
NS_ENSURE_STATE(mIdleThreadTimer);
|
||||
@ -1177,6 +1179,7 @@ RuntimeService::Cleanup()
|
||||
}
|
||||
|
||||
CleanupOSFileConstants();
|
||||
nsLayoutStatics::Release();
|
||||
}
|
||||
|
||||
// static
|
||||
|
Loading…
Reference in New Issue
Block a user