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

Unified Diff: xfa/include/fwl/core/fwl_note.h

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
« no previous file with comments | « no previous file | xfa/include/fwl/core/fwl_target.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/include/fwl/core/fwl_note.h
diff --git a/xfa/include/fwl/core/fwl_note.h b/xfa/include/fwl/core/fwl_note.h
index 66366e92e44da5081f3778fdbed48e520dc4b1cd..9ea20915313aff2120486bbb0cadcdaf8b033a2a 100644
--- a/xfa/include/fwl/core/fwl_note.h
+++ b/xfa/include/fwl/core/fwl_note.h
@@ -132,7 +132,7 @@ class CFWL_Note {
}
virtual IFWL_Target* Retain() {
Tom Sepez 2015/11/16 20:07:11 Doesn't override anything, provides its own m_dwRe
Lei Zhang 2015/11/16 20:34:49 This is the root for a different class hierachy. I
m_dwRefCount++;
- return (IFWL_Target*)this;
+ return (IFWL_Target*)this; // Illegal cast.
}
virtual FWL_ERR GetClassName(CFX_WideString& wsClass) const {
wsClass = L"CFWL_Note";
« no previous file with comments | « no previous file | xfa/include/fwl/core/fwl_target.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698