summaryrefslogtreecommitdiff
path: root/xfa/fxfa/fm2js/xfa_fm2jscontext.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-06-02 07:42:25 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-02 07:42:25 -0700
commit2235b7b52e2cedea9b5d4822de9548994362ca96 (patch)
tree69f8857aeab295ef7722ba139c987ba21ed66337 /xfa/fxfa/fm2js/xfa_fm2jscontext.h
parenta31d4a90f3446df76d8d3ffa0b441db0ad4623af (diff)
downloadpdfium-2235b7b52e2cedea9b5d4822de9548994362ca96.tar.xz
Change ThrowScriptErrorMessage() to just ThrowException().
Shorter and easier to remember. Review-Url: https://codereview.chromium.org/2029043002
Diffstat (limited to 'xfa/fxfa/fm2js/xfa_fm2jscontext.h')
-rw-r--r--xfa/fxfa/fm2js/xfa_fm2jscontext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/fm2js/xfa_fm2jscontext.h b/xfa/fxfa/fm2js/xfa_fm2jscontext.h
index 3d54eaf93f..92c819b16e 100644
--- a/xfa/fxfa/fm2js/xfa_fm2jscontext.h
+++ b/xfa/fxfa/fm2js/xfa_fm2jscontext.h
@@ -449,7 +449,7 @@ class CXFA_FM2JSContext : public CFXJSE_HostObject {
private:
v8::Isolate* GetScriptRuntime() const { return m_pIsolate; }
CXFA_Document* GetDocument() const { return m_pDocument; }
- void ThrowScriptErrorMessage(int32_t iStringID, ...);
+ void ThrowException(int32_t iStringID, ...);
v8::Isolate* m_pIsolate;
CFXJSE_Class* m_pFMClass;