Clarify what CPDF_PageObject is
Add a comment to explain CPDF_PageObject is an object in the page, and
not the page itself.
Change-Id: Idbe23cd322f0197f3fae9c3d482eb781f7549cf7
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/105211
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
diff --git a/core/fpdfapi/page/cpdf_pageobject.h b/core/fpdfapi/page/cpdf_pageobject.h
index eca894f..b5f5e3f 100644
--- a/core/fpdfapi/page/cpdf_pageobject.h
+++ b/core/fpdfapi/page/cpdf_pageobject.h
@@ -19,6 +19,9 @@
class CPDF_ShadingObject;
class CPDF_TextObject;
+// Represents an object within the page, like a form or image. Not to be
+// confused with the PDF spec's page object that lives in a page tree, which is
+// represented by CPDF_Page.
class CPDF_PageObject : public CPDF_GraphicStates {
public:
// Values must match corresponding values in //public.