зеркало из https://github.com/mozilla/gecko-dev.git
fixing crash caused by uninitialized variable
This commit is contained in:
Родитель
05f4441e0d
Коммит
01767033ad
|
@ -155,7 +155,7 @@ nsTreeStyleCache::GetStyleContext(nsICSSPseudoComparator* aComparator,
|
|||
|
||||
// We're in a final state.
|
||||
// Look up our style context for this state.
|
||||
nsStyleContext* result;
|
||||
nsStyleContext* result = nsnull;
|
||||
if (mCache)
|
||||
result = NS_STATIC_CAST(nsStyleContext*, mCache->Get(currState));
|
||||
if (!result) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче