Skip to content

Commit

Permalink
render: Reduce log spam in builds w/ asserts
Browse files Browse the repository at this point in the history
  • Loading branch information
robinlinden committed Jan 12, 2025
1 parent c5248ad commit 45940dd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions render/render.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,6 @@ void render_layout_impl(gfx::ICanvas &painter,
}

if (should_render(layout)) {
// display: none'd elements aren't part of the layout tree, so they won't appear here.
assert(layout.get_property<css::PropertyId::Display>().has_value());
do_render(painter, layout, image_lookup);
}

Expand Down

0 comments on commit 45940dd

Please sign in to comment.