mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
Bug 1386915 - Assert when nsLookAndFeel calls GTK off main thread; r=bholley
MozReview-Commit-ID: 9H9dE02bZel
This commit is contained in:
parent
e760ae7c08
commit
89df80e7d0
@ -1074,6 +1074,9 @@ nsLookAndFeel::EnsureInit()
|
||||
return;
|
||||
mInitialized = true;
|
||||
|
||||
// gtk does non threadsafe refcounting
|
||||
MOZ_ASSERT(NS_IsMainThread());
|
||||
|
||||
#if (MOZ_WIDGET_GTK == 2)
|
||||
NS_ASSERTION(!mStyle, "already initialized");
|
||||
// GtkInvisibles come with a refcount that is not floating
|
||||
|
Loading…
Reference in New Issue
Block a user