diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-05-31 16:24:22 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-05-31 16:24:22 +0000 |
commit | 75ccb54de5785e37e41ba8b560db0ff1dd7d5775 (patch) | |
tree | 857101fa191eb29f5aa42feb2222fab505bc6c51 /fxjs | |
parent | 656eb84f83fc1701737d9c65658371a99428d727 (diff) | |
download | pdfium-75ccb54de5785e37e41ba8b560db0ff1dd7d5775.tar.xz |
[xfa] Remove unused methods from CFXJSE_ScopeUtil_IsolateHandleContext
Methods are not called, removed.
Bug: pdfium:1097
Change-Id: I0c7bc8ded070002dd5eb980a4705eabb829fb6ec
Reviewed-on: https://pdfium-review.googlesource.com/33390
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'fxjs')
-rw-r--r-- | fxjs/cfxjse_context.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/fxjs/cfxjse_context.cpp b/fxjs/cfxjse_context.cpp index 6f2b770bdc..2de698d3ed 100644 --- a/fxjs/cfxjse_context.cpp +++ b/fxjs/cfxjse_context.cpp @@ -98,15 +98,9 @@ v8::Local<v8::Object> GetGlobalObjectFromContext( class CFXJSE_ScopeUtil_IsolateHandleContext { public: explicit CFXJSE_ScopeUtil_IsolateHandleContext(CFXJSE_Context* pContext) - : m_context(pContext), - m_parent(pContext->m_pIsolate), + : m_parent(pContext->m_pIsolate), m_cscope(v8::Local<v8::Context>::New(pContext->m_pIsolate, pContext->m_hContext)) {} - v8::Isolate* GetIsolate() { return m_context->m_pIsolate; } - v8::Local<v8::Context> GetLocalContext() { - return v8::Local<v8::Context>::New(m_context->m_pIsolate, - m_context->m_hContext); - } private: CFXJSE_ScopeUtil_IsolateHandleContext( @@ -115,7 +109,6 @@ class CFXJSE_ScopeUtil_IsolateHandleContext { void* operator new(size_t size) = delete; void operator delete(void*, size_t) = delete; - UnownedPtr<CFXJSE_Context> m_context; CFXJSE_ScopeUtil_IsolateHandle m_parent; v8::Context::Scope m_cscope; }; |