diff options
author | tsepez <tsepez@chromium.org> | 2016-11-03 06:10:26 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-03 06:10:26 -0700 |
commit | 304bb91238d6909cb5e170f8fc483aa7862558d5 (patch) | |
tree | 5183cddcd2bf05354c5cb424e18f57eb56780dea /fxjs/cfxjse_context.h | |
parent | d19e912dd469e4bdad9f3020e1f6eb98f10f3470 (diff) | |
download | pdfium-304bb91238d6909cb5e170f8fc483aa7862558d5.tar.xz |
Remove FX_BOOL entirely.
FX_BOOL was a type just like a regular C++ bool, except that it
took 4x the space and frequently was used to hold values besides
true or false.
Review-Url: https://codereview.chromium.org/2471353002
Diffstat (limited to 'fxjs/cfxjse_context.h')
-rw-r--r-- | fxjs/cfxjse_context.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fxjs/cfxjse_context.h b/fxjs/cfxjse_context.h index 73f62647cc..a694514770 100644 --- a/fxjs/cfxjse_context.h +++ b/fxjs/cfxjse_context.h @@ -30,9 +30,9 @@ class CFXJSE_Context { v8::Isolate* GetRuntime() { return m_pIsolate; } std::unique_ptr<CFXJSE_Value> GetGlobalObject(); void EnableCompatibleMode(); - FX_BOOL ExecuteScript(const FX_CHAR* szScript, - CFXJSE_Value* lpRetValue, - CFXJSE_Value* lpNewThisObject = nullptr); + bool ExecuteScript(const FX_CHAR* szScript, + CFXJSE_Value* lpRetValue, + CFXJSE_Value* lpNewThisObject = nullptr); protected: friend class CFXJSE_Class; |