Bug 906116 - part2: Fix comment for nsChangeHint_ReconstructFrame.
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
--- a/layout/base/nsChangeHint.h
+++ b/layout/base/nsChangeHint.h
@@ -65,18 +65,21 @@ enum nsChangeHint {
/**
* Updates all descendants. Any placeholder descendants' out-of-flows
* are also descendants of the transformed frame, so they're updated.
*/
nsChangeHint_UpdateTransformLayer = 1 << 9,
/**
* 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,
/**
* The frame's overflow area has changed. Does not update any descendant
* frames.
*/
nsChangeHint_UpdateOverflow = 1 << 11,