Index: Source/core/layout/LayoutPagedFlowThread.h |
diff --git a/Source/core/layout/LayoutPagedFlowThread.h b/Source/core/layout/LayoutPagedFlowThread.h |
index b30d95d9551e3f09c6f5ffd5408a16cf27c14ee7..c01c708bb77883437bc797ba8e6bf0c82dc93f15 100644 |
--- a/Source/core/layout/LayoutPagedFlowThread.h |
+++ b/Source/core/layout/LayoutPagedFlowThread.h |
@@ -19,6 +19,9 @@ public: |
LayoutBlockFlow* pagedBlockFlow() const { return toLayoutBlockFlow(parent()); } |
+ // Return the number of pages. Will never be less than 1. |
+ int pageCount(); |
+ |
virtual bool isLayoutPagedFlowThread() const override { return true; } |
virtual const char* name() const override { return "LayoutPagedFlowThread"; } |
virtual bool needsNewWidth() const override; |