Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(163)

Unified Diff: fpdfsdk/src/javascript/JS_Runtime.h

Issue 1394103002: Wean CJS_Value off of v8::Isolate. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: fpdfsdk/src/javascript/JS_Runtime.h
diff --git a/fpdfsdk/src/javascript/JS_Runtime.h b/fpdfsdk/src/javascript/JS_Runtime.h
index 2b7cb3767f84e305f1cb19657a8c7bc8b654b130..8cbec38fc633124e13ca40b6d50f55b80cecf381 100644
--- a/fpdfsdk/src/javascript/JS_Runtime.h
+++ b/fpdfsdk/src/javascript/JS_Runtime.h
@@ -29,6 +29,8 @@ class CJS_Runtime : public IJS_Runtime {
using FieldEvent = std::pair<CFX_WideString, JS_EVENT_T>;
+ static CJS_Runtime* FromContext(const IJS_Context* cc);
+
explicit CJS_Runtime(CPDFDoc_Environment* pApp);
~CJS_Runtime() override;

Powered by Google App Engine
This is Rietveld 408576698