Format style component.

This commit is contained in:
chansuke 2018-09-09 16:24:45 +02:00 committed by Emilio Cobos Álvarez
parent 31fc6cd565
commit 8dab4d659a
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
120 changed files with 2207 additions and 1417 deletions

View file

@ -60,7 +60,8 @@ where
E: TElement,
S: ToMediaListKey,
{
let flusher = self.stylesheets
let flusher = self
.stylesheets
.flush::<E>(/* host = */ None, /* snapshot_map = */ None);
if flusher.sheets.dirty() {
@ -68,7 +69,8 @@ where
}
// Ignore OOM.
let _ = self.data
let _ = self
.data
.rebuild(device, quirks_mode, flusher.sheets, guard);
}
}