Add UNOWNED_PTR_EXCLUSION to mac-specific CFX_AggDeviceDriver member.
Missed in prior CL.
Change-Id: I21de38cf47efdc313e43e00c2081209e2bb7dfe3
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/107371
Auto-Submit: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
diff --git a/core/fxge/agg/fx_agg_driver.h b/core/fxge/agg/fx_agg_driver.h
index 3b3d8dc..523bb0c 100644
--- a/core/fxge/agg/fx_agg_driver.h
+++ b/core/fxge/agg/fx_agg_driver.h
@@ -15,6 +15,10 @@
#include "core/fxge/cfx_fillrenderoptions.h"
#include "core/fxge/renderdevicedriver_iface.h"
+#if BUILDFLAG(IS_APPLE)
+#include "core/fxcrt/unowned_ptr_exclusion.h"
+#endif
+
class CFX_ClipRgn;
class CFX_GraphStateData;
class CFX_Matrix;
@@ -109,7 +113,7 @@
std::unique_ptr<CFX_ClipRgn> m_pClipRgn;
std::vector<std::unique_ptr<CFX_ClipRgn>> m_StateStack;
#if BUILDFLAG(IS_APPLE)
- void* m_pPlatformGraphics = nullptr;
+ UNOWNED_PTR_EXCLUSION void* m_pPlatformGraphics = nullptr;
#endif
CFX_FillRenderOptions m_FillOptions;
const bool m_bRgbByteOrder;