aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--components/layout/context.rs2
-rw-r--r--components/layout/layout_task.rs2
-rw-r--r--components/layout/traversal.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/components/layout/context.rs b/components/layout/context.rs
index 6c87ef63742..abb510df0d2 100644
--- a/components/layout/context.rs
+++ b/components/layout/context.rs
@@ -86,7 +86,7 @@ pub struct SharedLayoutContext {
/// Starts at zero, and increased by one every time a layout completes.
/// This can be used to easily check for invalid stale data.
- pub generation: uint,
+ pub generation: u32,
}
pub struct SharedLayoutContextWrapper(pub *const SharedLayoutContext);
diff --git a/components/layout/layout_task.rs b/components/layout/layout_task.rs
index 3a511033934..ffaf9c5edcb 100644
--- a/components/layout/layout_task.rs
+++ b/components/layout/layout_task.rs
@@ -107,7 +107,7 @@ pub struct LayoutTaskData {
/// Starts at zero, and increased by one every time a layout completes.
/// This can be used to easily check for invalid stale data.
- pub generation: uint,
+ pub generation: u32,
/// A queued response for the union of the content boxes of a node.
pub content_box_response: Rect<Au>,
diff --git a/components/layout/traversal.rs b/components/layout/traversal.rs
index a206bf75b4a..4474cc684a6 100644
--- a/components/layout/traversal.rs
+++ b/components/layout/traversal.rs
@@ -28,7 +28,7 @@ use std::mem;
/// Every time we do another layout, the old bloom filters are invalid. This is
/// detected by ticking a generation number every layout.
-type Generation = uint;
+type Generation = u32;
/// A pair of the bloom filter used for css selector matching, and the node to
/// which it applies. This is used to efficiently do `Descendant` selector