зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1404140 - Cleanup initialization of nsComputedDOMStyle::mFlushedPendingReflows. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D40294
This commit is contained in:
Родитель
12cc4ad0c8
Коммит
405bc1b7e9
|
@ -308,10 +308,6 @@ nsComputedDOMStyle::nsComputedDOMStyle(dom::Element* aElement,
|
|||
mStyleType(aStyleType),
|
||||
mExposeVisitedStyle(false),
|
||||
mResolvedComputedStyle(false)
|
||||
#ifdef DEBUG
|
||||
,
|
||||
mFlushedPendingReflows(false)
|
||||
#endif
|
||||
{
|
||||
MOZ_ASSERT(aElement);
|
||||
MOZ_ASSERT(aDocument);
|
||||
|
|
|
@ -406,7 +406,7 @@ class nsComputedDOMStyle final : public nsDOMCSSDeclaration,
|
|||
bool mResolvedComputedStyle;
|
||||
|
||||
#ifdef DEBUG
|
||||
bool mFlushedPendingReflows;
|
||||
bool mFlushedPendingReflows = false;
|
||||
#endif
|
||||
|
||||
friend struct ComputedStyleMap;
|
||||
|
|
Загрузка…
Ссылка в новой задаче