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

Unified Diff: core/fxcrt/extension.h

Issue 2053513002: Remove redundant casts, part 4 (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 6 months 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 | fpdfsdk/formfiller/cffl_iformfiller.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fxcrt/extension.h
diff --git a/core/fxcrt/extension.h b/core/fxcrt/extension.h
index 698bded9b6f1dce25777f4df69ec4d800338f2c7..877f1ca144cb2b0a25df2a975d187b7cafe15c79 100644
--- a/core/fxcrt/extension.h
+++ b/core/fxcrt/extension.h
@@ -47,7 +47,7 @@ class CFX_CRTFileAccess : public IFX_FileAccess {
IFX_FileAccess* Retain() override {
m_RefCount++;
- return (IFX_FileAccess*)this;
+ return this;
}
void GetPath(CFX_WideString& wsPath) override { wsPath = m_path; }
« no previous file with comments | « no previous file | fpdfsdk/formfiller/cffl_iformfiller.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698