summaryrefslogtreecommitdiff
path: root/xfa/fxjse/scope_inline.h
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-06-01 13:35:28 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-01 13:35:28 -0700
commit8abd7a2bbfef51ca6dc8a3462c067e5d2c46200e (patch)
treebe8c84b695efe5e653d881a6f3194df981e76edb /xfa/fxjse/scope_inline.h
parentf6be145f54bf44810974e43e9554c756c9730bb6 (diff)
downloadpdfium-8abd7a2bbfef51ca6dc8a3462c067e5d2c46200e.tar.xz
Remove use of v8:Lockers
The entire code base is single-threaded, hence the lockers ought not be required. Review-Url: https://codereview.chromium.org/2026933002
Diffstat (limited to 'xfa/fxjse/scope_inline.h')
-rw-r--r--xfa/fxjse/scope_inline.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/xfa/fxjse/scope_inline.h b/xfa/fxjse/scope_inline.h
index 90b20fc3d0..8ef9c85530 100644
--- a/xfa/fxjse/scope_inline.h
+++ b/xfa/fxjse/scope_inline.h
@@ -14,7 +14,6 @@ class CFXJSE_ScopeUtil_IsolateHandle {
public:
explicit CFXJSE_ScopeUtil_IsolateHandle(v8::Isolate* pIsolate)
: m_isolate(pIsolate),
- m_locker(pIsolate),
m_iscope(pIsolate),
m_hscope(pIsolate) {}
v8::Isolate* GetIsolate() { return m_isolate; }
@@ -27,7 +26,6 @@ class CFXJSE_ScopeUtil_IsolateHandle {
void operator delete(void*, size_t) = delete;
v8::Isolate* m_isolate;
- v8::Locker m_locker;
v8::Isolate::Scope m_iscope;
v8::HandleScope m_hscope;
};