Revert "Add type cast definitions for CPDF_Reference."
authorDan Sinclair <dsinclair@chromium.org>
Mon, 26 Oct 2015 17:02:07 +0000 (13:02 -0400)
committerDan Sinclair <dsinclair@chromium.org>
Mon, 26 Oct 2015 17:02:07 +0000 (13:02 -0400)
commit7e155865c90cc1115cc7193b7646a341d8f9093e
tree44e4351192f0af909671df95a1aac16a1609f750
parent9024e026dae1af064b8467bb0f62278417fb82d1
Revert "Add type cast definitions for CPDF_Reference."

This is causing pixel test failures on the bots.
  FAILURE: bug_543018_2.in
  FAILURE: bug_543018_1.in
  FAILURE: bug_524043_1.in

This reverts commit 9024e026dae1af064b8467bb0f62278417fb82d1.

Add type cast definitions for CPDF_Reference.

This Cl adds ToReference, CPDF_Object::AsReference and CPDF_Object::IsReference
and updates the src to use them as needed.

BUG=pdfium:201
TBR=tsepez@chromium.org

Review URL: https://codereview.chromium.org/1420973002 .

Review URL: https://codereview.chromium.org/1414393006 .
12 files changed:
core/include/fpdfapi/fpdf_objects.h
core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp
core/src/fpdfapi/fpdf_page/fpdf_page_parser.cpp
core/src/fpdfapi/fpdf_parser/fpdf_parser_document.cpp
core/src/fpdfapi/fpdf_parser/fpdf_parser_objects.cpp
core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp
core/src/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp
core/src/fpdfdoc/doc_form.cpp
core/src/fpdfdoc/doc_tagged.cpp
fpdfsdk/src/fpdf_flatten.cpp
fpdfsdk/src/fpdf_transformpage.cpp
fpdfsdk/src/fpdfppo.cpp