WebContent: Add missing ifdef

This commit is contained in:
koenditor 2024-06-16 08:03:43 +03:00 committed by Andreas Kling
parent 7950992fc2
commit 33f66dcb8f
Notes: sideshowbarker 2024-07-17 22:09:47 +09:00

View File

@ -207,7 +207,9 @@ void PageClient::paint(Web::DevicePixelRect const& content_rect, Gfx::Bitmap& ta
{
paint_options.should_show_line_box_borders = m_should_show_line_box_borders;
paint_options.has_focus = m_has_focus;
#ifdef HAS_ACCELERATED_GRAPHICS
paint_options.accelerated_graphics_context = m_accelerated_graphics_context.ptr();
#endif
paint_options.use_gpu_painter = s_use_gpu_painter;
paint_options.use_experimental_cpu_transform_support = s_use_experimental_cpu_transform_support;
page().top_level_traversable()->paint(content_rect, target, paint_options);