Bug 906116 - part2: Fix comment for nsChangeHint_ReconstructFrame. r=dbaron

The comment for nsChangeHint_ReconstructFrame is out-of-date.

In RestyleManager::ProcessRestyledFrames, we actually ignore all of the other
hints if ReconstructFrame is set. The old version was written when
ReconstructFrame was listed last. So, update the comment.

MozReview-Commit-ID: 97wMrW6S6ID

--HG--
extra : rebase_source : f1556012073e088af96c2e389532f1ae04b165af
This commit is contained in:
Jeremy Chen 2016-07-06 09:59:55 +08:00
Родитель b789d84b05
Коммит 010cb33d92
1 изменённых файлов: 5 добавлений и 2 удалений

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

@ -70,8 +70,11 @@ enum nsChangeHint {
/**
* Change requires frame change (e.g., display:).
* This subsumes all the above. Reconstructs all frame descendants,
* including following placeholders to out-of-flows.
* Reconstructs all frame descendants, including following placeholders
* to out-of-flows.
*
* Note that this subsumes all the other change hints. (see
* RestyleManager::ProcessRestyledFrames for details).
*/
nsChangeHint_ReconstructFrame = 1 << 10,