From e85107bc8ab5bbd5b2d3f97fd6071d7ce4a78bcc Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Tue, 24 Oct 2017 15:29:22 -0400 Subject: Move MaybeCoerceToNumber to CJS_Runtime This CL moves MaybeCoerceToNumber from CJS_Value to CJS_Runtime. Change-Id: I22bb605045daa63f405ef256e4b8a5c7ffb78425 Reviewed-on: https://pdfium-review.googlesource.com/16617 Commit-Queue: dsinclair Reviewed-by: Tom Sepez --- fpdfsdk/javascript/JS_Value.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'fpdfsdk/javascript/JS_Value.h') diff --git a/fpdfsdk/javascript/JS_Value.h b/fpdfsdk/javascript/JS_Value.h index ff3bf9c51e..d098812361 100644 --- a/fpdfsdk/javascript/JS_Value.h +++ b/fpdfsdk/javascript/JS_Value.h @@ -29,10 +29,6 @@ class CJS_Value { v8::Local ToV8Value() const; - // Replace the current |m_pValue| with a v8::Number if possible - // to make one from the current |m_pValue|. - void MaybeCoerceToNumber(CJS_Runtime* pRuntime); - private: v8::Local m_pValue; }; -- cgit v1.2.3