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

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

Issue 1453473002: FWL refcounts never incremented (part 2). (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 1 month 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
Index: xfa/src/fwl/src/lightwidget/widget.cpp
diff --git a/xfa/src/fwl/src/lightwidget/widget.cpp b/xfa/src/fwl/src/lightwidget/widget.cpp
index 283aed0e2f1f269713894b58c57fc598f8f7111b..f3061911736acf79a0e2d04f5f9adac9e3982cd0 100644
--- a/xfa/src/fwl/src/lightwidget/widget.cpp
+++ b/xfa/src/fwl/src/lightwidget/widget.cpp
@@ -26,11 +26,6 @@ FX_DWORD CFWL_Widget::Release() {
}
return dwRef - 1;
}
-CFWL_Widget* CFWL_Widget::Retain() {
- _FWL_RETURN_VALUE_IF_FAIL(m_pImp, NULL);
- m_pImp->Retain();
- return this;
-}
FX_DWORD CFWL_Widget::GetRefCount() const {
_FWL_RETURN_VALUE_IF_FAIL(m_pImp, 1);
return m_pImp->GetRefCount();
« xfa/include/fwl/core/fwl_note.h ('K') | « xfa/src/fwl/src/core/include/fwl_targetimp.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698