From fe0179ded8202939ea4f2b92a879b8dede7821ea Mon Sep 17 00:00:00 2001 From: tsepez Date: Thu, 22 Sep 2016 13:42:34 -0700 Subject: Rename CPDF_CountedObject to CFX_WeakPtr::Handle This better describes its purpose, and reduces confusion with the CFX_CountRef class, which is unrelated. The WeakPtr class itself that manipulates handles is NYI. Review-Url: https://codereview.chromium.org/2366673003 --- core/fpdfapi/fpdf_page/cpdf_pattern.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core/fpdfapi/fpdf_page/cpdf_pattern.h') 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::Handle; + #endif // CORE_FPDFAPI_FPDF_PAGE_CPDF_PATTERN_H_ -- cgit v1.2.3