| Index: fpdfsdk/src/javascript/JS_Value.h
|
| diff --git a/fpdfsdk/src/javascript/JS_Value.h b/fpdfsdk/src/javascript/JS_Value.h
|
| index 8517b76dac29422b3833ef1adc3717ae5c7e9408..20a6e38b46965e9cac89264d676b634f285b5492 100644
|
| --- a/fpdfsdk/src/javascript/JS_Value.h
|
| +++ b/fpdfsdk/src/javascript/JS_Value.h
|
| @@ -62,6 +62,11 @@ class CJS_Value {
|
| v8::Local<v8::Array> ToV8Array() const;
|
| v8::Local<v8::Value> ToV8Value() const;
|
|
|
| + // Replace the current |m_pValue| with a v8::Number if possible
|
| + // to make one from the current |m_pValue|, updating |m_eType|
|
| + // as appropriate to indicate the result.
|
| + void MaybeCoerceToNumber();
|
| +
|
| void operator=(int iValue);
|
| void operator=(bool bValue);
|
| void operator=(double);
|
|
|