 Chromium Code Reviews
 Chromium Code Reviews Issue 1570893003:
  Clean compiling warnings on Linux  (Closed) 
  Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
    
  
    Issue 1570893003:
  Clean compiling warnings on Linux  (Closed) 
  Base URL: https://pdfium.googlesource.com/pdfium.git@xfa| Index: xfa/src/fdp/src/css/fde_cssstyleselector.cpp | 
| diff --git a/xfa/src/fdp/src/css/fde_cssstyleselector.cpp b/xfa/src/fdp/src/css/fde_cssstyleselector.cpp | 
| index 6600449aa55bbe8f48fe4e68c452e0b2bcf65006..2909a750c76d14a59b243ec6784da5a8dfa12984 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. | 
| 
jun_fang
2016/01/09 07:01:46
It seems that this sentence was used to set a brea
 
Tom Sepez
2016/01/11 17:21:00
Acknowledged.
 | 
| - } | 
| if (pValue->GetType() == FDE_CSSVALUETYPE_Primitive) { | 
| IFDE_CSSPrimitiveValue* pPrimitive = (IFDE_CSSPrimitiveValue*)pValue; | 
| FDE_CSSPRIMITIVETYPE eType = pPrimitive->GetPrimitiveType(); |