summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Dapena Paz <jose.dapena@lge.com>2017-11-30 15:52:31 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-30 15:52:31 +0000
commit0edacf7b24cf5d70c41d3e28dc8e0f6b3c15447d (patch)
treeebf03d867786643975076857532605a2b490af4e
parent1e80f7e5b66d26078b586a112a83ef2a1f18bfa6 (diff)
downloadpdfium-0edacf7b24cf5d70c41d3e28dc8e0f6b3c15447d.tar.xz
GCC build fix: access from global function to private methods in CJS_PublicMethods.
Build fails on GCC because JSGlobalFunc (a global function) is calling private methods of CJS_PublicMethods. Bug: None. Change-Id: I56f0313e250787d044613066abf069f741501415 Reviewed-on: https://pdfium-review.googlesource.com/19750 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
-rw-r--r--fxjs/cjs_publicmethods.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fxjs/cjs_publicmethods.h b/fxjs/cjs_publicmethods.h
index 4088c42f1a..87269969f8 100644
--- a/fxjs/cjs_publicmethods.h
+++ b/fxjs/cjs_publicmethods.h
@@ -26,7 +26,6 @@ class CJS_PublicMethods : public CJS_Object {
static WideString MakeFormatDate(double dDate, const WideString& format);
static bool IsNumber(const WideString& str);
- private:
static CJS_Return AFNumber_Format(
CJS_Runtime* pRuntime,
const std::vector<v8::Local<v8::Value>>& params);