diff options
author | tsepez <tsepez@chromium.org> | 2016-09-12 09:47:52 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-12 09:47:52 -0700 |
commit | 1c62054a42cf0759148501a36c541de5d5769d32 (patch) | |
tree | ed2e53f26474dff1149ce83d3f175c3c36b31631 /fpdfsdk/javascript/cjs_runtime.cpp | |
parent | 75f84a56fed36111ece82d0ac96e87289622b093 (diff) | |
download | pdfium-1c62054a42cf0759148501a36c541de5d5769d32.tar.xz |
Make CFX_Obeservable::Observer into a pointer-ish type;
This may be a better design because it avoids having a level
of indirection that the Observer required.
Review-Url: https://codereview.chromium.org/2326763002
Diffstat (limited to 'fpdfsdk/javascript/cjs_runtime.cpp')
-rw-r--r-- | fpdfsdk/javascript/cjs_runtime.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/javascript/cjs_runtime.cpp b/fpdfsdk/javascript/cjs_runtime.cpp index 67d45d5e4a..bfed82efe1 100644 --- a/fpdfsdk/javascript/cjs_runtime.cpp +++ b/fpdfsdk/javascript/cjs_runtime.cpp @@ -124,7 +124,7 @@ CJS_Runtime::CJS_Runtime(CPDFDoc_Environment* pApp) } CJS_Runtime::~CJS_Runtime() { - NotifyObservers(); + NotifyObservedPtrs(); ReleaseEngine(); if (m_isolateManaged) { GetIsolate()->Dispose(); |