diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-04-23 11:31:31 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-04-23 11:31:31 -0700 |
commit | f4ef3f92eb89a460a0715df758122ba662aadc39 (patch) | |
tree | 7b3d3533929299c587bb2ab52382430ea34960e6 /fpdfsdk/include/javascript/JS_Value.h | |
parent | f99882e726d4a78e1b8fecad8b478276fbdf9c86 (diff) | |
download | pdfium-f4ef3f92eb89a460a0715df758122ba662aadc39.tar.xz |
Merge to XFA: Kill overloaded cast operators in CJS_Value.
Original Review URL: https://codereview.chromium.org/1096813008
TBR=thestig@chromium.org
Review URL: https://codereview.chromium.org/1106663002
Diffstat (limited to 'fpdfsdk/include/javascript/JS_Value.h')
-rw-r--r-- | fpdfsdk/include/javascript/JS_Value.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/fpdfsdk/include/javascript/JS_Value.h b/fpdfsdk/include/javascript/JS_Value.h index 1431349552..ecd0f832d4 100644 --- a/fpdfsdk/include/javascript/JS_Value.h +++ b/fpdfsdk/include/javascript/JS_Value.h @@ -39,16 +39,16 @@ public: void Detach(); - operator int() const; - operator bool() const; - operator double() const; - operator float() const; - operator CJS_Object*() const; - operator v8::Handle<v8::Object>() const; - operator v8::Handle<v8::Array>() const; - operator CFX_WideString() const; - operator CFX_ByteString() const; - v8::Handle<v8::Value> ToJSValue(); + int ToInt() const; + bool ToBool() const; + double ToDouble() const; + float ToFloat() const; + CJS_Object* ToCJSObject() const; + CFX_WideString ToCFXWideString() const; + CFX_ByteString ToCFXByteString() const; + v8::Handle<v8::Object> ToV8Object() const; + v8::Handle<v8::Array> ToV8Array() const; + v8::Handle<v8::Value> ToV8Value() const; void operator = (int iValue); void operator = (bool bValue); |