diff options
author | Lei Zhang <thestig@chromium.org> | 2018-08-28 23:12:22 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-08-28 23:12:22 +0000 |
commit | da379c7af512aa7baa221d38b04c8aa9912b4e02 (patch) | |
tree | 2d98da7f03c36051aa96a372126020fc3eb94c12 /fxjs/cfxjse_value.h | |
parent | cf59f804ea8bc83fe0d70148de15a3b5cedc801f (diff) | |
download | pdfium-da379c7af512aa7baa221d38b04c8aa9912b4e02.tar.xz |
Stop using deprecated v8::ObjectTemplate::NewInstance().
Fix nits in affected files.
Change-Id: I3a0363c9b7c28359fd1c7cea305e4f7705a228c2
Reviewed-on: https://pdfium-review.googlesource.com/41355
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fxjs/cfxjse_value.h')
-rw-r--r-- | fxjs/cfxjse_value.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fxjs/cfxjse_value.h b/fxjs/cfxjse_value.h index dd01843990..f83ddc31c7 100644 --- a/fxjs/cfxjse_value.h +++ b/fxjs/cfxjse_value.h @@ -88,11 +88,11 @@ class CFXJSE_Value { friend class CFXJSE_Class; friend class CFXJSE_Context; - CFXJSE_Value(); - CFXJSE_Value(const CFXJSE_Value&); - CFXJSE_Value& operator=(const CFXJSE_Value&); + CFXJSE_Value() = delete; + CFXJSE_Value(const CFXJSE_Value&) = delete; + CFXJSE_Value& operator=(const CFXJSE_Value&) = delete; - UnownedPtr<v8::Isolate> m_pIsolate; + UnownedPtr<v8::Isolate> const m_pIsolate; v8::Global<v8::Value> m_hValue; }; |