summaryrefslogtreecommitdiff
path: root/xfa/fde/css/fde_cssstylesheet.cpp
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.cpp
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.cpp')
-rw-r--r--xfa/fde/css/fde_cssstylesheet.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/xfa/fde/css/fde_cssstylesheet.cpp b/xfa/fde/css/fde_cssstylesheet.cpp
index 50f2bddfbf..4477593359 100644
--- a/xfa/fde/css/fde_cssstylesheet.cpp
+++ b/xfa/fde/css/fde_cssstylesheet.cpp
@@ -213,15 +213,15 @@ FDE_CSSSyntaxStatus CFDE_CSSStyleSheet::LoadStyleRule(
if (propertyArgs.pProperty) {
pszValue = pSyntax->GetCurrentString(iValueLen);
if (iValueLen > 0) {
- pStyleRule->GetDeclImp().AddProperty(&propertyArgs, pszValue,
- iValueLen);
+ pStyleRule->GetDeclaration()->AddProperty(&propertyArgs, pszValue,
+ iValueLen);
}
} else if (iValueLen > 0) {
pszValue = pSyntax->GetCurrentString(iValueLen);
if (iValueLen > 0) {
- pStyleRule->GetDeclImp().AddProperty(&propertyArgs, wsName.c_str(),
- wsName.GetLength(), pszValue,
- iValueLen);
+ pStyleRule->GetDeclaration()->AddProperty(
+ &propertyArgs, wsName.c_str(), wsName.GetLength(), pszValue,
+ iValueLen);
}
}
break;
@@ -237,7 +237,7 @@ FDE_CSSSyntaxStatus CFDE_CSSStyleSheet::LoadStyleRule(
}
break;
case FDE_CSSSyntaxStatus::DeclClose:
- if (pStyleRule && pStyleRule->GetDeclImp().empty()) {
+ if (pStyleRule && pStyleRule->GetDeclaration()->empty()) {
ruleArray->pop_back();
pStyleRule = nullptr;
}
@@ -271,8 +271,8 @@ FDE_CSSSyntaxStatus CFDE_CSSStyleSheet::LoadFontFaceRule(
if (propertyArgs.pProperty) {
pszValue = pSyntax->GetCurrentString(iValueLen);
if (iValueLen > 0) {
- pFontFaceRule->GetDeclImp().AddProperty(&propertyArgs, pszValue,
- iValueLen);
+ pFontFaceRule->GetDeclaration()->AddProperty(&propertyArgs,
+ pszValue, iValueLen);
}
}
break;