diff --git a/Userland/Libraries/LibWeb/Painting/RecordingPainter.cpp b/Userland/Libraries/LibWeb/Painting/RecordingPainter.cpp index 08207007f8..e0f6b56cfc 100644 --- a/Userland/Libraries/LibWeb/Painting/RecordingPainter.cpp +++ b/Userland/Libraries/LibWeb/Painting/RecordingPainter.cpp @@ -31,15 +31,6 @@ struct CommandExecutionState { Vector stacking_contexts; }; -CommandResult ClearRect::execute(CommandExecutionState& state) const -{ - if (state.would_be_fully_clipped_by_painter(rect)) - return CommandResult::Continue; - - state.painter().clear_rect(rect, color); - return CommandResult::Continue; -} - CommandResult FillRectWithRoundedCorners::execute(CommandExecutionState& state) const { if (state.would_be_fully_clipped_by_painter(rect)) @@ -506,14 +497,6 @@ void RecordingPainter::blit_corner_clipping(NonnullRefPtrpaintable())