Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1876)

Unified Diff: xfa/src/fwl/src/lightwidget/tooltipctrl.cpp

Issue 1509203002: FWL refcounts never incremented (part 1) (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: protected Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « xfa/src/fwl/src/lightwidget/scrollbar.cpp ('k') | xfa/src/fwl/src/lightwidget/widget.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/src/fwl/src/lightwidget/tooltipctrl.cpp
diff --git a/xfa/src/fwl/src/lightwidget/tooltipctrl.cpp b/xfa/src/fwl/src/lightwidget/tooltipctrl.cpp
index f51ec221a0dddcf1bceb46cc1d06e2f166df5f13..19ca2cb94f8c14b607449957d487b119927eec91 100644
--- a/xfa/src/fwl/src/lightwidget/tooltipctrl.cpp
+++ b/xfa/src/fwl/src/lightwidget/tooltipctrl.cpp
@@ -20,7 +20,7 @@ FWL_ERR CFWL_ToolTip::Initialize(const CFWL_WidgetProperties* pProperties) {
if (pProperties) {
*m_pProperties = *pProperties;
}
- m_pIface = IFWL_ToolTip::Create();
+ m_pIface = new IFWL_ToolTip;
FWL_ERR ret =
((IFWL_ToolTip*)m_pIface)
->Initialize(m_pProperties->MakeWidgetImpProperties(&m_tooltipData),
« no previous file with comments | « xfa/src/fwl/src/lightwidget/scrollbar.cpp ('k') | xfa/src/fwl/src/lightwidget/widget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698