diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-06-04 18:26:07 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-06-04 18:26:07 +0000 |
commit | f06ed6d3578fff9e1d2990e5757dc460e60e5dd3 (patch) | |
tree | 80a0b51c34053bcce961d43905afaef33b33c4da /core/fpdfapi/page/cpdf_page.h | |
parent | 168c763539e70bea450701470c47a8991f578336 (diff) | |
download | pdfium-f06ed6d3578fff9e1d2990e5757dc460e60e5dd3.tar.xz |
Revert "Make CPDF_Document cache CPDF_Pages"
This reverts commit f0d9d28a034fe3650c3c2d662090c1e8687ddb16.
Reason for revert: avoid parsing page.
Change-Id: Id3478f7e38f1cbe95d098e00158b1d7d9dc6f76e
Reviewed-on: https://pdfium-review.googlesource.com/33750
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fpdfapi/page/cpdf_page.h')
-rw-r--r-- | core/fpdfapi/page/cpdf_page.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/core/fpdfapi/page/cpdf_page.h b/core/fpdfapi/page/cpdf_page.h index b94326e47b..0bb99b73f1 100644 --- a/core/fpdfapi/page/cpdf_page.h +++ b/core/fpdfapi/page/cpdf_page.h @@ -12,7 +12,6 @@ #include "core/fpdfapi/page/cpdf_pageobjectholder.h" #include "core/fxcrt/fx_coordinates.h" #include "core/fxcrt/fx_system.h" -#include "core/fxcrt/observable.h" #include "core/fxcrt/retain_ptr.h" #include "core/fxcrt/unowned_ptr.h" #include "third_party/base/optional.h" @@ -23,9 +22,7 @@ class CPDF_Object; class CPDF_PageRenderCache; class CPDF_PageRenderContext; -class CPDF_Page : public Retainable, - public Observable<CPDF_Page>, - public CPDF_PageObjectHolder { +class CPDF_Page : public Retainable, public CPDF_PageObjectHolder { public: class View {}; // Caller implements as desired, empty here due to layering. class Extension : public Retainable {}; // XFA page parent class, layering. @@ -69,7 +66,7 @@ class CPDF_Page : public Retainable, private: CPDF_Page(CPDF_Document* pDocument, CPDF_Dictionary* pPageDict, - bool bUseRenderCache); + bool bPageCache); ~CPDF_Page() override; void StartParse(); |