| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index 31fa3eaf232ae0fcb181779ffe66f2b9ab14d0ea..dd8334cf6e2ed1e691a732a46b82dc330ce130bb 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -2017,6 +2017,7 @@ PassRefPtr<RenderStyle> Document::styleForElementIgnoringPendingStylesheets(Elem
|
|
|
| PassRefPtr<RenderStyle> Document::styleForPage(int pageIndex)
|
| {
|
| + updateDistributionIfNeeded();
|
| return ensureStyleResolver().styleForPage(pageIndex);
|
| }
|
|
|
|
|