summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/JS_Object.cpp
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-07-21 12:12:38 -0700
committerCommit bot <commit-bot@chromium.org>2016-07-21 12:12:38 -0700
commit3999d6a4ec124b2e5f68aadb7b51f387733a96b5 (patch)
treecfbc9bac40219891dc7b16948d2cd259deba3793 /fpdfsdk/javascript/JS_Object.cpp
parent1235f6ff37394e7df2eecce539762d45e8860a5c (diff)
downloadpdfium-3999d6a4ec124b2e5f68aadb7b51f387733a96b5.tar.xz
Remove unused methods from JS_Object.cpp
Review-Url: https://codereview.chromium.org/2170913003
Diffstat (limited to 'fpdfsdk/javascript/JS_Object.cpp')
-rw-r--r--fpdfsdk/javascript/JS_Object.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/fpdfsdk/javascript/JS_Object.cpp b/fpdfsdk/javascript/JS_Object.cpp
index 0d190a7fa4..8a4dc0fa33 100644
--- a/fpdfsdk/javascript/JS_Object.cpp
+++ b/fpdfsdk/javascript/JS_Object.cpp
@@ -75,26 +75,10 @@ void CJS_Object::Dispose() {
m_pV8Object.Reset();
}
-FX_BOOL CJS_Object::IsType(const FX_CHAR* sClassName) {
- return TRUE;
-}
-
-CFX_ByteString CJS_Object::GetClassName() {
- return "";
-}
-
void CJS_Object::InitInstance(IJS_Runtime* pIRuntime) {}
void CJS_Object::ExitInstance() {}
-int CJS_Object::MsgBox(CPDFDoc_Environment* pApp,
- const FX_WCHAR* swMsg,
- const FX_WCHAR* swTitle,
- FX_UINT nType,
- FX_UINT nIcon) {
- return FXJS_MsgBox(pApp, swMsg, swTitle, nType, nIcon);
-}
-
void CJS_Object::Alert(CJS_Context* pContext, const FX_WCHAR* swMsg) {
if (pContext->IsMsgBoxEnabled()) {
CPDFDoc_Environment* pApp = pContext->GetReaderApp();