diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-02-06 20:42:36 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-02-06 20:42:36 +0000 |
commit | 837b1751975e4cbcb1ff56d0e68c1ac2b8dbd712 (patch) | |
tree | 1e4c65b8f9e221174a549725e42ffc4357ac1c6e | |
parent | eb8d960e32f19c2cbc6ad648af1420dfdc389fc8 (diff) | |
download | pdfium-837b1751975e4cbcb1ff56d0e68c1ac2b8dbd712.tar.xz |
Remove unused FreeObjectPrivate() overload.
Change-Id: Idb1f6879a78e4ada8129250eedd37142b6f26588
Reviewed-on: https://pdfium-review.googlesource.com/25530
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
-rw-r--r-- | fxjs/fxjs_v8.cpp | 5 | ||||
-rw-r--r-- | fxjs/fxjs_v8.h | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/fxjs/fxjs_v8.cpp b/fxjs/fxjs_v8.cpp index 2161076e36..7869bab038 100644 --- a/fxjs/fxjs_v8.cpp +++ b/fxjs/fxjs_v8.cpp @@ -288,11 +288,6 @@ int CFXJS_Engine::GetObjDefnID(v8::Local<v8::Object> pObj) { } // static -void CFXJS_Engine::FreeObjectPrivate(void* pPerObjectData) { - delete static_cast<CFXJS_PerObjectData*>(pPerObjectData); -} - -// static void CFXJS_Engine::FreeObjectPrivate(v8::Local<v8::Object> pObj) { CFXJS_PerObjectData* pData = CFXJS_PerObjectData::GetFromObject(pObj); pObj->SetAlignedPointerInInternalField(0, nullptr); diff --git a/fxjs/fxjs_v8.h b/fxjs/fxjs_v8.h index 7091b0e43e..9dcaeb84c1 100644 --- a/fxjs/fxjs_v8.h +++ b/fxjs/fxjs_v8.h @@ -182,7 +182,6 @@ class CFXJS_Engine : public CJS_V8 { void SetObjectPrivate(v8::Local<v8::Object> pObj, std::unique_ptr<CJS_Object> p); CJS_Object* GetObjectPrivate(v8::Local<v8::Object> pObj); - static void FreeObjectPrivate(void* pPerObjectData); static void FreeObjectPrivate(v8::Local<v8::Object> pObj); void Error(const WideString& message); |