diff options
-rw-r--r-- | components/gfx/paint_thread.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/gfx/paint_thread.rs b/components/gfx/paint_thread.rs index aa759ca6b7a..163060e7592 100644 --- a/components/gfx/paint_thread.rs +++ b/components/gfx/paint_thread.rs @@ -685,7 +685,7 @@ impl WorkerThread { let mut paint_context = PaintContext { draw_target: draw_target.clone(), font_context: &mut self.font_context, - page_rect: Rect::from_untyped(&tile.page_rect), + page_rect: Rect::from_untyped(&tile.page_rect.translate(&paint_layer.display_list_origin)), screen_rect: Rect::from_untyped(&tile.screen_rect), clip_rect: None, transient_clip: None, |