From 75ccb54de5785e37e41ba8b560db0ff1dd7d5775 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Thu, 31 May 2018 16:24:22 +0000 Subject: [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 Reviewed-by: Henrique Nakashima Reviewed-by: Ryan Harrison --- fxjs/cfxjse_context.cpp | 9 +-------- 1 file changed, 1 insertion(+), 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 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::New(pContext->m_pIsolate, pContext->m_hContext)) {} - v8::Isolate* GetIsolate() { return m_context->m_pIsolate; } - v8::Local GetLocalContext() { - return v8::Local::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 m_context; CFXJSE_ScopeUtil_IsolateHandle m_parent; v8::Context::Scope m_cscope; }; -- cgit v1.2.3