aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--components/layout/display_list_builder.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout/display_list_builder.rs b/components/layout/display_list_builder.rs
index 7cc1d3f6311..99f26266189 100644
--- a/components/layout/display_list_builder.rs
+++ b/components/layout/display_list_builder.rs
@@ -335,7 +335,7 @@ impl FragmentDisplayListBuilding for Fragment {
Some(computed::Image::LinearGradient(ref gradient)) => {
self.build_display_list_for_background_linear_gradient(display_list,
level,
- absolute_bounds,
+ &bounds,
&clip,
gradient,
style)
@@ -345,7 +345,7 @@ impl FragmentDisplayListBuilding for Fragment {
display_list,
layout_context,
level,
- absolute_bounds,
+ &bounds,
&clip,
image_url)
}