Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(209)

Unified Diff: xfa/fxfa/fm2js/xfa_fm2jscontext.cpp

Issue 2457673003: Fix some FX_BOOL / int noise in fxfa (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: xfa/fxfa/fm2js/xfa_fm2jscontext.cpp
diff --git a/xfa/fxfa/fm2js/xfa_fm2jscontext.cpp b/xfa/fxfa/fm2js/xfa_fm2jscontext.cpp
index b5ba3f7fd9b152e601baa357e4e2bfccbc3ae93d..8a7849f873f5d0aba6a188044f55248889b9c9ed 100644
--- a/xfa/fxfa/fm2js/xfa_fm2jscontext.cpp
+++ b/xfa/fxfa/fm2js/xfa_fm2jscontext.cpp
@@ -4653,7 +4653,7 @@ void CXFA_FM2JSContext::Uuid(CFXJSE_Value* pThis,
FX_GUID_CreateV4(&guid);
CFX_ByteString bsUId;
- FX_GUID_ToString(&guid, bsUId, iNum);
+ FX_GUID_ToString(&guid, bsUId, !!iNum);
args.GetReturnValue()->SetString(bsUId.AsStringC());
}

Powered by Google App Engine
This is Rietveld 408576698