From 40faa79da0bc902d7f1f5cc43464b94e6dfa5d22 Mon Sep 17 00:00:00 2001 From: tsepez Date: Fri, 15 Jul 2016 17:58:02 -0700 Subject: Remove type info from CJS_Value, interrogate v8 instead Review-Url: https://codereview.chromium.org/2154503002 --- fxjs/include/fxjs_v8.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'fxjs/include') diff --git a/fxjs/include/fxjs_v8.h b/fxjs/include/fxjs_v8.h index c8cd65be2f..f59f510066 100644 --- a/fxjs/include/fxjs_v8.h +++ b/fxjs/include/fxjs_v8.h @@ -118,15 +118,6 @@ class FXJS_PerIsolateData { FXJS_PerIsolateData(); }; -extern const wchar_t kFXJSValueNameString[]; -extern const wchar_t kFXJSValueNameNumber[]; -extern const wchar_t kFXJSValueNameBoolean[]; -extern const wchar_t kFXJSValueNameDate[]; -extern const wchar_t kFXJSValueNameObject[]; -extern const wchar_t kFXJSValueNameFxobj[]; -extern const wchar_t kFXJSValueNameNull[]; -extern const wchar_t kFXJSValueNameUndefined[]; - class FXJS_ArrayBufferAllocator : public v8::ArrayBuffer::Allocator { void* Allocate(size_t length) override; void* AllocateUninitialized(size_t length) override; @@ -209,7 +200,6 @@ v8::Local FXJS_NewFxDynamicObj(v8::Isolate* pIsolate, bool bStatic = false); v8::Local FXJS_GetThisObj(v8::Isolate* pIsolate); int FXJS_GetObjDefnID(v8::Local pObj); -const wchar_t* FXJS_GetTypeof(v8::Local pObj); void FXJS_SetPrivate(v8::Isolate* pIsolate, v8::Local pObj, -- cgit v1.2.3