From e99ee7f3e550f7706a3e2d8105ccc55553a9badb Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Thu, 1 Feb 2018 20:24:43 +0000 Subject: Introduce CXFJS_Engine::EngineFromContext/SetEngineInContext helpers No functional change, but expose helpers likely to be needed by next steps. Rename CXFJS_Engine::CurrentEngineFromIsolate to be more accurately named along the way. Change-Id: Iaf2d15a09cfed85705d24ee056e78edf0660ce59 Reviewed-on: https://pdfium-review.googlesource.com/25090 Reviewed-by: dsinclair Commit-Queue: Tom Sepez --- fxjs/cjs_publicmethods.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fxjs/cjs_publicmethods.cpp') diff --git a/fxjs/cjs_publicmethods.cpp b/fxjs/cjs_publicmethods.cpp index 45eae7f8d2..9fcfc5f291 100644 --- a/fxjs/cjs_publicmethods.cpp +++ b/fxjs/cjs_publicmethods.cpp @@ -120,7 +120,7 @@ template & info) { CJS_Runtime* pRuntime = - CJS_Runtime::CurrentRuntimeFromIsolate(info.GetIsolate()); + CJS_Runtime::RuntimeFromIsolateCurrentContext(info.GetIsolate()); if (!pRuntime) return; -- cgit v1.2.3