summaryrefslogtreecommitdiff
path: root/xfa/fde/css/fde_cssstylesheet.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-01-18 08:56:52 -0500
committerChromium commit bot <commit-bot@chromium.org>2017-01-18 14:08:38 +0000
commit09065aeee59e51e88de054c8dab3b0e538c0893f (patch)
tree384accb8fff77dbd3cccafb098fcf52c8e5f13d4 /xfa/fde/css/fde_cssstylesheet.h
parent21ae2b7297e005576afeb9f0230d1f69b3abc857 (diff)
downloadpdfium-09065aeee59e51e88de054c8dab3b0e538c0893f.tar.xz
Remove GetDeclImp methods in favour of GetDeclaration
Change-Id: I245d755814123f351a661bda1f38eaa96d4e68ae Reviewed-on: https://pdfium-review.googlesource.com/2214 Reviewed-by: Nicolás Peña <npm@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fde/css/fde_cssstylesheet.h')
-rw-r--r--xfa/fde/css/fde_cssstylesheet.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/xfa/fde/css/fde_cssstylesheet.h b/xfa/fde/css/fde_cssstylesheet.h
index 46c0897694..9cc7b63cbd 100644
--- a/xfa/fde/css/fde_cssstylesheet.h
+++ b/xfa/fde/css/fde_cssstylesheet.h
@@ -54,7 +54,6 @@ class CFDE_CSSStyleRule : public CFDE_CSSRule {
size_t CountSelectorLists() const;
CFDE_CSSSelector* GetSelectorList(int32_t index) const;
CFDE_CSSDeclaration* GetDeclaration();
- CFDE_CSSDeclaration& GetDeclImp() { return m_Declaration; }
void SetSelector(std::vector<std::unique_ptr<CFDE_CSSSelector>>* list);
@@ -84,7 +83,7 @@ class CFDE_CSSFontFaceRule : public CFDE_CSSRule {
CFDE_CSSFontFaceRule();
~CFDE_CSSFontFaceRule() override;
- CFDE_CSSDeclaration& GetDeclImp() { return m_Declaration; }
+ CFDE_CSSDeclaration* GetDeclaration() { return &m_Declaration; }
private:
CFDE_CSSDeclaration m_Declaration;