summaryrefslogtreecommitdiff
path: root/fxjs/cjs_object.h
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/cjs_object.h')
-rw-r--r--fxjs/cjs_object.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/fxjs/cjs_object.h b/fxjs/cjs_object.h
index f4b0d297f4..67389f59e6 100644
--- a/fxjs/cjs_object.h
+++ b/fxjs/cjs_object.h
@@ -57,10 +57,6 @@ class CJS_Object {
v8::Local<v8::Object> ToV8Object() { return m_pV8Object.Get(m_pIsolate); }
- // Takes ownership of |pObj|.
- void SetEmbedObject(std::unique_ptr<CJS_EmbedObj> pObj) {
- m_pEmbedObj = std::move(pObj);
- }
CJS_EmbedObj* GetEmbedObject() const { return m_pEmbedObj.get(); }
v8::Isolate* GetIsolate() const { return m_pIsolate; }