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

Unified Diff: xfa/src/fxjse/src/class.h

Issue 1140033004: Merge V8 API updates to xfa branch (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 7 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
« no previous file with comments | « fpdfsdk/src/jsapi/fxjs_v8.cpp ('k') | xfa/src/fxjse/src/class.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/src/fxjse/src/class.h
diff --git a/xfa/src/fxjse/src/class.h b/xfa/src/fxjse/src/class.h
index 26ebb91bfa2367dec955713892b073efe1fac86b..f8cdc340220c04148622467623a78d80f799cf36 100644
--- a/xfa/src/fxjse/src/class.h
+++ b/xfa/src/fxjse/src/class.h
@@ -17,7 +17,7 @@ public:
{
return m_pContext;
}
- inline v8::Persistent<v8::FunctionTemplate>& GetTemplate()
+ inline v8::Global<v8::FunctionTemplate>& GetTemplate()
{
return m_hTemplate;
}
@@ -29,7 +29,7 @@ public:
protected:
CFX_ByteString m_szClassName;
CFXJSE_Context* m_pContext;
- v8::Persistent<v8::FunctionTemplate> m_hTemplate;
+ v8::Global<v8::FunctionTemplate> m_hTemplate;
friend class CFXJSE_Context;
friend class CFXJSE_Value;
};
« no previous file with comments | « fpdfsdk/src/jsapi/fxjs_v8.cpp ('k') | xfa/src/fxjse/src/class.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698