From 59db10f1d3cb986dd1797043c28ca7ab0c717cb5 Mon Sep 17 00:00:00 2001 From: cku Date: Thu, 21 Sep 2017 15:16:40 +0800 Subject: [PATCH] Bug 1401888 - Part 1. Move PDFiumEngineShim::Init to private section. r=fatseng MozReview-Commit-ID: KK1wAv1KoPh --HG-- extra : rebase_source : 7a7dfd78cec1356f607f1ee421388337aa03aaf2 --- widget/windows/PDFiumEngineShim.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/widget/windows/PDFiumEngineShim.h b/widget/windows/PDFiumEngineShim.h index 32fdbe83e187..164576a6281c 100644 --- a/widget/windows/PDFiumEngineShim.h +++ b/widget/windows/PDFiumEngineShim.h @@ -49,8 +49,6 @@ public: static already_AddRefed GetInstanceOrNull(); - bool Init(); - FPDF_DOCUMENT LoadDocument(FPDF_STRING file_path, FPDF_BYTESTRING aPassword); void CloseDocument(FPDF_DOCUMENT aDocument); @@ -66,9 +64,9 @@ public: int aRotate, int aFlags); private: - PDFiumEngineShim(); ~PDFiumEngineShim(); + bool Init(); bool mInitialized ;