Remove CFXJSE_Engine::RemoveJSBindingFromMap()

It is not called anywhere (only caller removed in
https://pdfium-review.googlesource.com/c/pdfium/+/71711).

Change-Id: I0b951d7c7ec333b37f8074ce7254d909fcf5aacd
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/72510
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
diff --git a/fxjs/xfa/cfxjse_engine.cpp b/fxjs/xfa/cfxjse_engine.cpp
index e25676f..55b511b 100644
--- a/fxjs/xfa/cfxjse_engine.cpp
+++ b/fxjs/xfa/cfxjse_engine.cpp
@@ -785,15 +785,6 @@
   return pValue;
 }
 
-void CFXJSE_Engine::RemoveJSBindingFromMap(CXFA_Object* pObject) {
-  auto iter = m_mapObjectToValue.find(pObject);
-  if (iter == m_mapObjectToValue.end())
-    return;
-
-  iter->second->ClearHostObject();
-  m_mapObjectToValue.erase(iter);
-}
-
 void CFXJSE_Engine::SetNodesOfRunScript(std::vector<CXFA_Node*>* pArray) {
   m_pScriptNodeArray = pArray;
 }
diff --git a/fxjs/xfa/cfxjse_engine.h b/fxjs/xfa/cfxjse_engine.h
index 7537106..fe3b859 100644
--- a/fxjs/xfa/cfxjse_engine.h
+++ b/fxjs/xfa/cfxjse_engine.h
@@ -84,7 +84,6 @@
                       CXFA_Node* bindNode);
 
   CFXJSE_Value* GetOrCreateJSBindingFromMap(CXFA_Object* pObject);
-  void RemoveJSBindingFromMap(CXFA_Object* pObject);
 
   CXFA_Object* GetThisObject() const { return m_pThisObject.Get(); }
   CFXJSE_Class* GetJseNormalClass() const { return m_pJsClass.Get(); }