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

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

Issue 2334323005: Rename dictionary set and get methods (Closed)
Patch Set: Created 4 years, 3 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/doc_tagged.cpp ('k') | core/fpdfdoc/include/cpdf_formcontrol.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fpdfdoc/include/cpdf_action.h
diff --git a/core/fpdfdoc/include/cpdf_action.h b/core/fpdfdoc/include/cpdf_action.h
index 90e33015e79256dc27cdb0fdf786af6108dc4fa7..0b095e4a6662b24787ce8bdb160b590a27e49bc3 100644
--- a/core/fpdfdoc/include/cpdf_action.h
+++ b/core/fpdfdoc/include/cpdf_action.h
@@ -45,9 +45,9 @@ class CPDF_Action {
CPDF_Dest GetDest(CPDF_Document* pDoc) const;
CFX_WideString GetFilePath() const;
CFX_ByteString GetURI(CPDF_Document* pDoc) const;
- bool GetHideStatus() const { return m_pDict->GetBooleanBy("H", true); }
- CFX_ByteString GetNamedAction() const { return m_pDict->GetStringBy("N"); }
- uint32_t GetFlags() const { return m_pDict->GetIntegerBy("Flags"); }
+ bool GetHideStatus() const { return m_pDict->GetBooleanFor("H", true); }
+ CFX_ByteString GetNamedAction() const { return m_pDict->GetStringFor("N"); }
+ uint32_t GetFlags() const { return m_pDict->GetIntegerFor("Flags"); }
CFX_WideString GetJavaScript() const;
size_t GetSubActionsCount() const;
CPDF_Action GetSubAction(size_t iIndex) const;
« no previous file with comments | « core/fpdfdoc/doc_tagged.cpp ('k') | core/fpdfdoc/include/cpdf_formcontrol.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698