Qualify libstyle enums.

This commit is contained in:
Ms2ger 2015-01-04 11:48:41 +01:00
parent 9068e62f2a
commit d759b07299
5 changed files with 38 additions and 38 deletions

View file

@ -41,7 +41,7 @@ use std::fmt;
use std::slice::Items;
use style::ComputedValues;
use style::computed_values::border_style;
use style::computed_values::cursor::{AutoCursor, SpecifiedCursor};
use style::computed_values::cursor;
use sync::Arc;
// It seems cleaner to have layout code not mention Azure directly, so let's just reexport this for
@ -629,8 +629,8 @@ impl DisplayItemMetadata {
DisplayItemMetadata {
node: node,
cursor: match style.get_pointing().cursor {
AutoCursor => default_cursor,
SpecifiedCursor(cursor) => cursor,
cursor::T::AutoCursor => default_cursor,
cursor::T::SpecifiedCursor(cursor) => cursor,
},
}
}