summaryrefslogtreecommitdiff
path: root/xfa/src/fdp
diff options
context:
space:
mode:
authorJun Fang <jun_fang@foxitsoftware.com>2016-01-11 19:00:27 -0800
committerJun Fang <jun_fang@foxitsoftware.com>2016-01-11 19:00:27 -0800
commit65ac873de9164c01af2579a773344c4bca7254d7 (patch)
treefab5a783859ae9290625866d80af81bb2768e23f /xfa/src/fdp
parentf2b300af96e05bb372664752a64f6ab506820a12 (diff)
downloadpdfium-65ac873de9164c01af2579a773344c4bca7254d7.tar.xz
Clean compiling warnings on Linux
BUG=pdfium:261 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1570893003 .
Diffstat (limited to 'xfa/src/fdp')
-rw-r--r--xfa/src/fdp/src/css/fde_cssstyleselector.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/xfa/src/fdp/src/css/fde_cssstyleselector.cpp b/xfa/src/fdp/src/css/fde_cssstyleselector.cpp
index 8a832b413a..b2fa5c6537 100644
--- a/xfa/src/fdp/src/css/fde_cssstyleselector.cpp
+++ b/xfa/src/fdp/src/css/fde_cssstyleselector.cpp
@@ -597,10 +597,6 @@ void CFDE_CSSStyleSelector::ApplyProperty(
FDE_CSSPROPERTY eProperty,
IFDE_CSSValue* pValue,
CFDE_CSSComputedStyle* pComputedStyle) {
- if (pComputedStyle->m_InheritedData.m_pFontFamily &&
- *(FX_DWORD*)pComputedStyle->m_InheritedData.m_pFontFamily == 0xcdcdcdcd) {
- pComputedStyle = pComputedStyle; // FIXME: likely a real bug.
- }
if (pValue->GetType() == FDE_CSSVALUETYPE_Primitive) {
IFDE_CSSPrimitiveValue* pPrimitive = (IFDE_CSSPrimitiveValue*)pValue;
FDE_CSSPRIMITIVETYPE eType = pPrimitive->GetPrimitiveType();