Bug 1217230 - Set mNeedToRecomputeVisibility true only when style or layout flush. r=seth
This commit is contained in:
@@ -1571,9 +1571,10 @@ nsRefreshDriver::Tick(int64_t aNowEpoch, TimeStamp aNowTime)
|
||||
presContext->NotifyFontFaceSetOnRefresh();
|
||||
}
|
||||
NS_RELEASE(shell);
|
||||
|
||||
mNeedToRecomputeVisibility = true;
|
||||
}
|
||||
|
||||
mNeedToRecomputeVisibility = true;
|
||||
|
||||
if (tracingStyleFlush) {
|
||||
profiler_tracing("Paint", "Styles", TRACING_INTERVAL_END);
|
||||
@@ -1617,9 +1618,9 @@ nsRefreshDriver::Tick(int64_t aNowEpoch, TimeStamp aNowTime)
|
||||
presContext->NotifyFontFaceSetOnRefresh();
|
||||
}
|
||||
NS_RELEASE(shell);
|
||||
}
|
||||
|
||||
mNeedToRecomputeVisibility = true;
|
||||
mNeedToRecomputeVisibility = true;
|
||||
}
|
||||
|
||||
if (tracingLayoutFlush) {
|
||||
profiler_tracing("Paint", "Reflow", TRACING_INTERVAL_END);
|
||||
|
||||
Reference in New Issue
Block a user