|
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.
Committed: https://pdfium.googlesource.com/pdfium/+/1e2c557e0fa0e47c8bafdb31c833ea4f90f5fedd
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+50 lines, -38 lines) |
Patch |
|
M |
core/fpdfapi/fpdf_page/cpdf_page.cpp
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
core/fpdfapi/fpdf_page/include/cpdf_page.h
|
View
|
1
|
3 chunks |
+13 lines, -1 line |
0 comments
|
Download
|
|
M |
core/fpdfdoc/include/fpdf_doc.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
fpdfsdk/fpdf_progressive.cpp
|
View
|
|
3 chunks |
+10 lines, -8 lines |
0 comments
|
Download
|
|
M |
fpdfsdk/fpdfview.cpp
|
View
|
1
|
5 chunks |
+18 lines, -22 lines |
0 comments
|
Download
|
|
M |
fpdfsdk/fsdk_mgr.cpp
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
fpdfsdk/include/fsdk_define.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
fpdfsdk/include/fsdk_mgr.h
|
View
|
1
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
fpdfsdk/include/fsdk_rendercontext.h
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
Total messages: 17 (9 generated)
|