diff options
author | Jun Fang <jun_fang@foxitsoftware.com> | 2016-01-11 19:00:27 -0800 |
---|---|---|
committer | Jun Fang <jun_fang@foxitsoftware.com> | 2016-01-11 19:00:27 -0800 |
commit | 65ac873de9164c01af2579a773344c4bca7254d7 (patch) | |
tree | fab5a783859ae9290625866d80af81bb2768e23f /xfa/src/fdp | |
parent | f2b300af96e05bb372664752a64f6ab506820a12 (diff) | |
download | pdfium-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.cpp | 4 |
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();
|