From 304bb91238d6909cb5e170f8fc483aa7862558d5 Mon Sep 17 00:00:00 2001 From: tsepez Date: Thu, 3 Nov 2016 06:10:26 -0700 Subject: 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 --- fxjs/cfxjse_runtimedata.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fxjs/cfxjse_runtimedata.cpp') diff --git a/fxjs/cfxjse_runtimedata.cpp b/fxjs/cfxjse_runtimedata.cpp index 017916a248..4f5cfbcbcb 100644 --- a/fxjs/cfxjse_runtimedata.cpp +++ b/fxjs/cfxjse_runtimedata.cpp @@ -36,11 +36,11 @@ void FXJSE_Initialize() { if (!CFXJSE_IsolateTracker::g_pInstance) CFXJSE_IsolateTracker::g_pInstance = new CFXJSE_IsolateTracker; - static FX_BOOL bV8Initialized = FALSE; + static bool bV8Initialized = false; if (bV8Initialized) return; - bV8Initialized = TRUE; + bV8Initialized = true; atexit(KillV8); } -- cgit v1.2.3