Bug 870443 - Add warning comment to DoApplyRenderingChangeToTree. r=dholbert

--HG--
extra : rebase_source : d6f6ba5f17f42f4606edc7c89f004d5782de447a
This commit is contained in:
Jonathan Watt 2013-05-12 10:25:10 +01:00
Родитель 9249fa9942
Коммит 7ff6ff5e86
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -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 &&