Index: fpdfsdk/src/javascript/app.cpp |
diff --git a/fpdfsdk/src/javascript/app.cpp b/fpdfsdk/src/javascript/app.cpp |
index 03043e3a4deb44f4aafd49541649f7da1c71671f..602bfaee9361438f80048a2bcaba329b11bc200a 100644 |
--- a/fpdfsdk/src/javascript/app.cpp |
+++ b/fpdfsdk/src/javascript/app.cpp |
@@ -493,23 +493,7 @@ FX_BOOL app::popUpMenuEx(OBJ_METHOD_PARAMS) |
FX_BOOL app::fs(OBJ_PROP_PARAMS) |
{ |
-#ifdef FOXIT_CHROME_BUILD |
return FALSE; |
-#else |
- CJS_Context* pContext = (CJS_Context*)cc; |
- ASSERT(pContext != NULL); |
- CJS_Runtime* pRuntime = pContext->GetJSRuntime(); |
- ASSERT(pRuntime != NULL); |
- |
- if (vp.IsGetting()) |
- { |
- return TRUE; |
- } |
- else |
- { |
- return TRUE; |
- } |
-#endif |
} |
FX_BOOL app::setInterval(OBJ_METHOD_PARAMS) |
@@ -1043,11 +1027,7 @@ FX_BOOL app::response(OBJ_METHOD_PARAMS) |
{ |
CFX_WideString swQuestion = L""; |
CFX_WideString swLabel = L""; |
-#ifndef FOXIT_CHROME_BUILD |
- CFX_WideString swTitle = L"Foxit"; |
-#else |
CFX_WideString swTitle = L"PDF"; |
-#endif |
CFX_WideString swDefault = L""; |
bool bPassWord = false; |