summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/JS_Runtime_Stub.cpp
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-07-21 13:29:55 -0700
committerCommit bot <commit-bot@chromium.org>2016-07-21 13:29:55 -0700
commit1d3348ce0092d6d2a40de5f8433c0d0c16a1e12e (patch)
tree9d4f456e15a533fb49b2a9bdc6a38e47ad1210dc /fpdfsdk/javascript/JS_Runtime_Stub.cpp
parent9ca2b09126b80c03655f0eee1f02e1b2d0a18230 (diff)
downloadpdfium-1d3348ce0092d6d2a40de5f8433c0d0c16a1e12e.tar.xz
Remove EnableMessageBox() / IsMessageBoxEnabled()
It's always enabled. Also inline FXJS_MsgBox since it only has one caller. Review-Url: https://codereview.chromium.org/2167343002
Diffstat (limited to 'fpdfsdk/javascript/JS_Runtime_Stub.cpp')
-rw-r--r--fpdfsdk/javascript/JS_Runtime_Stub.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/fpdfsdk/javascript/JS_Runtime_Stub.cpp b/fpdfsdk/javascript/JS_Runtime_Stub.cpp
index 39c191af70..109be0acd6 100644
--- a/fpdfsdk/javascript/JS_Runtime_Stub.cpp
+++ b/fpdfsdk/javascript/JS_Runtime_Stub.cpp
@@ -116,7 +116,6 @@ class CJS_ContextStub final : public IJS_Context {
void OnBatchExec(CPDFSDK_Document* pTarget) override {}
void OnConsole_Exec() override {}
void OnExternal_Exec() override {}
- void EnableMessageBox(FX_BOOL bEnable) override {}
};
class CJS_RuntimeStub final : public IJS_Runtime {