diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-06-08 20:43:55 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-06-08 20:43:55 +0000 |
commit | 83b259e52ce289003b1a88ba6d8d5e2a8ac348fe (patch) | |
tree | badf4f3bc728dba169805133cc01a6992d4f59e5 /fxjs/cjs_object.h | |
parent | fc615c63d34037896963f636e4b5d9e05efd41de (diff) | |
download | pdfium-83b259e52ce289003b1a88ba6d8d5e2a8ac348fe.tar.xz |
Remove CJS_Object::InitInstance().
Because constructors can do all this.
Change-Id: I4f7ff6c26b17d9bddd326333a66e1bd38b2ea377
Reviewed-on: https://pdfium-review.googlesource.com/34693
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fxjs/cjs_object.h')
-rw-r--r-- | fxjs/cjs_object.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fxjs/cjs_object.h b/fxjs/cjs_object.h index c33fd7710f..c3766fc2c0 100644 --- a/fxjs/cjs_object.h +++ b/fxjs/cjs_object.h @@ -53,8 +53,6 @@ class CJS_Object { CJS_Object(v8::Local<v8::Object> pObject, CJS_Runtime* pRuntime); virtual ~CJS_Object(); - virtual void InitInstance(); - v8::Local<v8::Object> ToV8Object() { return m_pV8Object.Get(GetIsolate()); } v8::Isolate* GetIsolate() const { return m_pIsolate.Get(); } CJS_Runtime* GetRuntime() const { return m_pRuntime.Get(); } |