Bug 1533963 - Use a single RestyleHint representation. r=heycam

Differential Revision: https://phabricator.services.mozilla.com/D22828
This commit is contained in:
Emilio Cobos Álvarez
2019-03-14 11:47:50 +00:00
parent d6650de92d
commit cf0e6ff153
44 changed files with 196 additions and 436 deletions

View File

@@ -2305,7 +2305,7 @@ HTMLInputElement::EnablePreview() {
mIsPreviewEnabled = true;
// Reconstruct the frame to append an anonymous preview node
nsLayoutUtils::PostRestyleEvent(this, nsRestyleHint(0),
nsLayoutUtils::PostRestyleEvent(this, RestyleHint{0},
nsChangeHint_ReconstructFrame);
}