summaryrefslogtreecommitdiff
path: root/fpdfsdk/include/fsdk_define.h
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-05-25 14:58:09 -0700
committerCommit bot <commit-bot@chromium.org>2016-05-25 14:58:09 -0700
commit1e2c557e0fa0e47c8bafdb31c833ea4f90f5fedd (patch)
tree86c90cdb10f3c478570934816a56070ed6d51260 /fpdfsdk/include/fsdk_define.h
parentedfd3c3d6a56bee2456e96df4b945c095ea3a290 (diff)
downloadpdfium-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 'fpdfsdk/include/fsdk_define.h')
-rw-r--r--fpdfsdk/include/fsdk_define.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fpdfsdk/include/fsdk_define.h b/fpdfsdk/include/fsdk_define.h
index f3ed2da00f..536e35886f 100644
--- a/fpdfsdk/include/fsdk_define.h
+++ b/fpdfsdk/include/fsdk_define.h
@@ -109,7 +109,6 @@ FPDF_DOCUMENT FPDFDocumentFromCPDFDocument(CPDF_Document* doc);
CPDF_Page* CPDFPageFromFPDFPage(FPDF_PAGE page);
-void DropContext(void* data);
void FSDK_SetSandBoxPolicy(FPDF_DWORD policy, FPDF_BOOL enable);
FPDF_BOOL FSDK_IsSandBoxPolicyEnabled(FPDF_DWORD policy);
void FPDF_RenderPage_Retail(CRenderContext* pContext,