mirror of
https://github.com/Kozea/WeasyPrint.git
synced 2024-10-05 08:27:22 +03:00
Make profiling easier to read.
This commit is contained in:
parent
9e13c20491
commit
1d7f96c06d
@ -141,6 +141,10 @@ class Document(object):
|
||||
for every box.
|
||||
"""
|
||||
if self._pages is None:
|
||||
# "Linearize" code flow
|
||||
_ = self.computed_styles
|
||||
_ = self.formatting_structure
|
||||
# Actual work
|
||||
self._pages = layout(self)
|
||||
return self._pages
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user