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

Unified Diff: core/fpdfdoc/include/cpdf_annot.h

Issue 2278153005: CPDF_Annot::GetRect() should return CFX_FloatRect. (Closed)
Patch Set: Created 4 years, 4 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 | « core/fpdfdoc/cpdf_annotlist.cpp ('k') | fpdfsdk/cba_annotiterator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fpdfdoc/include/cpdf_annot.h
diff --git a/core/fpdfdoc/include/cpdf_annot.h b/core/fpdfdoc/include/cpdf_annot.h
index 4029bba4cc92d83acc23ce8eb2b95c7cfcadf350..9f8671633c2698a990490184590fe62c5eb9e65e 100644
--- a/core/fpdfdoc/include/cpdf_annot.h
+++ b/core/fpdfdoc/include/cpdf_annot.h
@@ -44,7 +44,7 @@ class CPDF_Annot {
CFX_ByteString GetSubType() const;
uint32_t GetFlags() const;
- void GetRect(CFX_FloatRect& rect) const;
+ CFX_FloatRect GetRect() const;
const CPDF_Dictionary* GetAnnotDict() const { return m_pAnnotDict; }
CPDF_Dictionary* GetAnnotDict() { return m_pAnnotDict; }
FX_BOOL DrawAppearance(CPDF_Page* pPage,
« no previous file with comments | « core/fpdfdoc/cpdf_annotlist.cpp ('k') | fpdfsdk/cba_annotiterator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698