From f743552fbdb17f974c9b1675af81210fe0ffcc50 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Mon, 5 Feb 2018 22:27:22 +0000 Subject: Fold CJS_EmbedObj classes into CJS_Object classes This CL removes the CJS_EmbedObj class and various subclasses and folds the subclasses into their CJS_Object counterparts. Change-Id: If6b882a4995c0b1bf83ac783f5c27ba9216c2d5c Reviewed-on: https://pdfium-review.googlesource.com/25410 Commit-Queue: dsinclair Reviewed-by: Tom Sepez --- fxjs/cjs_object.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'fxjs/cjs_object.h') diff --git a/fxjs/cjs_object.h b/fxjs/cjs_object.h index 67389f59e6..22a5e1625a 100644 --- a/fxjs/cjs_object.h +++ b/fxjs/cjs_object.h @@ -11,7 +11,6 @@ #include #include "fpdfsdk/fsdk_define.h" -#include "fxjs/cjs_embedobj.h" #include "fxjs/cjs_runtime.h" #include "fxjs/fxjs_v8.h" @@ -56,13 +55,9 @@ class CJS_Object { virtual void InitInstance(IJS_Runtime* pIRuntime); v8::Local ToV8Object() { return m_pV8Object.Get(m_pIsolate); } - - CJS_EmbedObj* GetEmbedObject() const { return m_pEmbedObj.get(); } - v8::Isolate* GetIsolate() const { return m_pIsolate; } protected: - std::unique_ptr m_pEmbedObj; v8::Global m_pV8Object; v8::Isolate* m_pIsolate; }; -- cgit v1.2.3