mirror of
https://github.com/servo/servo.git
synced 2025-08-15 18:35:33 +01:00
style: Update the Rust target version for bindgen.
This brings us alignas support and also associated constants for bitfield enums. Differential Revision: https://phabricator.services.mozilla.com/D15334
This commit is contained in:
parent
8a6230e5a2
commit
8929087d83
7 changed files with 26 additions and 40 deletions
|
@ -1501,9 +1501,6 @@ impl<'le> TElement for GeckoElement<'le> {
|
|||
|
||||
/// Process various tasks that are a result of animation-only restyle.
|
||||
fn process_post_animation(&self, tasks: PostAnimationTasks) {
|
||||
use crate::gecko_bindings::structs::nsChangeHint_nsChangeHint_Empty;
|
||||
use crate::gecko_bindings::structs::nsRestyleHint_eRestyle_Subtree;
|
||||
|
||||
debug_assert!(!tasks.is_empty(), "Should be involved a task");
|
||||
|
||||
// If display style was changed from none to other, we need to resolve
|
||||
|
@ -1519,8 +1516,8 @@ impl<'le> TElement for GeckoElement<'le> {
|
|||
);
|
||||
unsafe {
|
||||
self.note_explicit_hints(
|
||||
nsRestyleHint_eRestyle_Subtree,
|
||||
nsChangeHint_nsChangeHint_Empty,
|
||||
nsRestyleHint::eRestyle_Subtree,
|
||||
nsChangeHint::nsChangeHint_Empty,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue