зеркало из https://github.com/mozilla/gecko-dev.git
Bug 870443 - Add warning comment to DoApplyRenderingChangeToTree. r=dholbert
--HG-- extra : rebase_source : d6f6ba5f17f42f4606edc7c89f004d5782de447a
This commit is contained in:
Родитель
9249fa9942
Коммит
7ff6ff5e86
|
@ -7725,6 +7725,11 @@ DoApplyRenderingChangeToTree(nsIFrame* aFrame,
|
|||
|
||||
// if frame has view, will already be invalidated
|
||||
if (aChange & nsChangeHint_RepaintFrame) {
|
||||
// Note that this whole block will be skipped when painting is suppressed
|
||||
// (due to our caller ApplyRendingChangeToTree() discarding the
|
||||
// nsChangeHint_RepaintFrame hint). If you add handling for any other
|
||||
// hints within this block, be sure that they too should be ignored when
|
||||
// painting is suppressed.
|
||||
needInvalidatingPaint = true;
|
||||
aFrame->InvalidateFrameSubtree();
|
||||
if (aChange & nsChangeHint_UpdateEffects &&
|
||||
|
|
Загрузка…
Ссылка в новой задаче