aboutsummaryrefslogtreecommitdiffstats
path: root/include/litehtml/render_item.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/litehtml/render_item.h')
-rw-r--r--include/litehtml/render_item.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/litehtml/render_item.h b/include/litehtml/render_item.h
index 0a52b143..21c943b4 100644
--- a/include/litehtml/render_item.h
+++ b/include/litehtml/render_item.h
@@ -412,7 +412,7 @@ namespace litehtml
std::tuple<int, int> element_static_offset(const std::shared_ptr<litehtml::render_item> &el);
void add_positioned(const std::shared_ptr<litehtml::render_item> &el);
void get_redraw_box(litehtml::position& pos, int x = 0, int y = 0);
- void calc_document_size( litehtml::size& sz, int x = 0, int y = 0 );
+ void calc_document_size( litehtml::size& sz, int x = 0, int y = 0 ) const;
virtual void get_inline_boxes( position::vector& /*boxes*/ ) const {};
virtual void set_inline_boxes( position::vector& /*boxes*/ ) {};
virtual void add_inline_box( const position& /*box*/ ) {};