aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/layout_interface.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/layout_interface.rs')
-rw-r--r--components/script/layout_interface.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/layout_interface.rs b/components/script/layout_interface.rs
index 4859c075058..f94fb29c18d 100644
--- a/components/script/layout_interface.rs
+++ b/components/script/layout_interface.rs
@@ -88,7 +88,7 @@ pub struct HitTestResponse(pub UntrustedNodeAddress);
pub struct MouseOverResponse(pub Vec<UntrustedNodeAddress>);
/// Why we're doing reflow.
-#[derive(PartialEq, Debug)]
+#[derive(PartialEq, Copy, Debug)]
pub enum ReflowGoal {
/// We're reflowing in order to send a display list to the screen.
ForDisplay,