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 /fxjs/fxjs_v8.cpp | |
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>
Diffstat (limited to 'fxjs/fxjs_v8.cpp')
-rw-r--r-- | fxjs/fxjs_v8.cpp | 5 |
1 files changed, 0 insertions, 5 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); |