diff --git a/Userland/Libraries/LibWeb/Painting/PaintingCommandExecutorCPU.cpp b/Userland/Libraries/LibWeb/Painting/PaintingCommandExecutorCPU.cpp index fd020aef63..884e070a94 100644 --- a/Userland/Libraries/LibWeb/Painting/PaintingCommandExecutorCPU.cpp +++ b/Userland/Libraries/LibWeb/Painting/PaintingCommandExecutorCPU.cpp @@ -166,6 +166,7 @@ CommandResult PaintingCommandExecutorCPU::push_stacking_context( // with execution of commands outside of this stacking context. // FIXME: Change the get_region_bitmap() API to return ErrorOr> and exit the execution of commands here // if we run out of memory. + painter().restore(); return CommandResult::SkipStackingContext; }