Add type cast definitions for CPDF_Boolean.
authorDan Sinclair <dsinclair@chromium.org>
Tue, 20 Oct 2015 20:38:12 +0000 (16:38 -0400)
committerDan Sinclair <dsinclair@chromium.org>
Tue, 20 Oct 2015 20:38:12 +0000 (16:38 -0400)
commitce4f95d61f5aa5fb9a5fc6cb8487999a9cf46458
treee94487d8febe420592249615061169e011ce8c3b
parent48cc160caf622bdd1dd5db2dde1935ccaf0b9203
Add type cast definitions for CPDF_Boolean.

This CL adds ToBoolean, CPDF_Object::AsBoolean and CPDF_Object::IsBoolean and
updates the src to use them as needed.

BUG=pdfium:201
R=thestig@chromium.org, tsepez@chromium.org

Review URL: https://codereview.chromium.org/1417623005 .
core/include/fpdfapi/fpdf_objects.h
core/src/fpdfapi/fpdf_parser/fpdf_parser_objects.cpp
fpdfsdk/src/javascript/Document.cpp