diff options
author | tsepez <tsepez@chromium.org> | 2016-05-25 14:58:09 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-25 14:58:09 -0700 |
commit | 1e2c557e0fa0e47c8bafdb31c833ea4f90f5fedd (patch) | |
tree | 86c90cdb10f3c478570934816a56070ed6d51260 /core/fpdfdoc/doc_viewerPreferences.cpp | |
parent | edfd3c3d6a56bee2456e96df4b945c095ea3a290 (diff) | |
download | pdfium-1e2c557e0fa0e47c8bafdb31c833ea4f90f5fedd.tar.xz |
Remove CFX_PrivateData from CPDF_Page
CFX_PrivateData served two purposes here:
The first was to hold an opaque pointer to the corresponding
page structure in the next higher layer, of which it knows
no details. Introduce an empty CPDF_Page::View class to
represent this higher class, so as to get type safety while
preserving layering.
The second was to hold an opaque render context, which it
also happened to own. Make this a CFX_Deletable to help
with management.
Also remove an unused inheritance from CFX_PrivateData
in CPDF_Annot.
Review-Url: https://codereview.chromium.org/2008553008
Diffstat (limited to 'core/fpdfdoc/doc_viewerPreferences.cpp')
0 files changed, 0 insertions, 0 deletions