diff options
Diffstat (limited to 'core/fpdfapi/fpdf_page/cpdf_pattern.h')
-rw-r--r-- | core/fpdfapi/fpdf_page/cpdf_pattern.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/fpdfapi/fpdf_page/cpdf_pattern.h b/core/fpdfapi/fpdf_page/cpdf_pattern.h index 983c9eab3f..f18a32d4d3 100644 --- a/core/fpdfapi/fpdf_page/cpdf_pattern.h +++ b/core/fpdfapi/fpdf_page/cpdf_pattern.h @@ -7,6 +7,7 @@ #ifndef CORE_FPDFAPI_FPDF_PAGE_CPDF_PATTERN_H_ #define CORE_FPDFAPI_FPDF_PAGE_CPDF_PATTERN_H_ +#include "core/fxcrt/include/cfx_weak_ptr.h" #include "core/fxcrt/include/fx_coordinates.h" #include "core/fxcrt/include/fx_system.h" @@ -42,4 +43,6 @@ class CPDF_Pattern { const CFX_Matrix m_ParentMatrix; }; +using CPDF_CountedPattern = CFX_WeakPtr<CPDF_Pattern>::Handle; + #endif // CORE_FPDFAPI_FPDF_PAGE_CPDF_PATTERN_H_ |