summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_rendercontext.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/cxfa_rendercontext.h')
-rw-r--r--xfa/fxfa/cxfa_rendercontext.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/xfa/fxfa/cxfa_rendercontext.h b/xfa/fxfa/cxfa_rendercontext.h
index 411830d87a..9338494e7b 100644
--- a/xfa/fxfa/cxfa_rendercontext.h
+++ b/xfa/fxfa/cxfa_rendercontext.h
@@ -9,6 +9,7 @@
#include <memory>
+#include "core/fxcrt/unowned_ptr.h"
#include "xfa/fxfa/fxfa.h"
class CXFA_Graphics;
@@ -24,7 +25,7 @@ class CXFA_RenderContext {
private:
std::unique_ptr<IXFA_WidgetIterator> m_pWidgetIterator;
- CXFA_FFWidget* m_pWidget;
+ UnownedPtr<CXFA_FFWidget> m_pWidget;
CFX_Matrix m_matrix;
CFX_RectF m_rtClipRect;
};