Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(366)

Unified Diff: xfa/src/fdp/src/css/fde_cssstyleselector.cpp

Issue 1570893003: Clean compiling warnings on Linux (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | xfa/src/fxbarcode/BC_BarCode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | xfa/src/fxbarcode/BC_BarCode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698