mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Rename nsIAtom as nsAtom.
Bug 1400459 devirtualized nsIAtom so that it is no longer a subclass of nsISupports. This means that nsAtom is now a better name for it than nsIAtom.
This commit is contained in:
parent
55a37930b2
commit
7628c1236a
12 changed files with 12752 additions and 12752 deletions
|
@ -54,7 +54,7 @@ use gecko_bindings::bindings::Gecko_UnsetDirtyStyleAttr;
|
|||
use gecko_bindings::bindings::Gecko_UpdateAnimations;
|
||||
use gecko_bindings::structs;
|
||||
use gecko_bindings::structs::{RawGeckoElement, RawGeckoNode, RawGeckoXBLBinding};
|
||||
use gecko_bindings::structs::{nsIAtom, nsIContent, nsINode_BooleanFlag};
|
||||
use gecko_bindings::structs::{nsAtom, nsIContent, nsINode_BooleanFlag};
|
||||
use gecko_bindings::structs::ELEMENT_HANDLED_SNAPSHOT;
|
||||
use gecko_bindings::structs::ELEMENT_HAS_ANIMATION_ONLY_DIRTY_DESCENDANTS_FOR_SERVO;
|
||||
use gecko_bindings::structs::ELEMENT_HAS_DIRTY_DESCENDANTS_FOR_SERVO;
|
||||
|
@ -2065,11 +2065,11 @@ impl<'le> ::selectors::Element for GeckoElement<'le> {
|
|||
/// A few helpers to help with attribute selectors and snapshotting.
|
||||
pub trait NamespaceConstraintHelpers {
|
||||
/// Returns the namespace of the selector, or null otherwise.
|
||||
fn atom_or_null(&self) -> *mut nsIAtom;
|
||||
fn atom_or_null(&self) -> *mut nsAtom;
|
||||
}
|
||||
|
||||
impl<'a> NamespaceConstraintHelpers for NamespaceConstraint<&'a Namespace> {
|
||||
fn atom_or_null(&self) -> *mut nsIAtom {
|
||||
fn atom_or_null(&self) -> *mut nsAtom {
|
||||
match *self {
|
||||
NamespaceConstraint::Any => ptr::null_mut(),
|
||||
NamespaceConstraint::Specific(ref ns) => ns.0.as_ptr(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue