Index: xfa/src/fdp/src/css/fde_csssyntax.cpp |
diff --git a/xfa/src/fdp/src/css/fde_csssyntax.cpp b/xfa/src/fdp/src/css/fde_csssyntax.cpp |
index b546d1046ff74429c498f40e13c431dd284fef9c..15b8dbb23a9bb1eb1a6bfcd6dbeb9168e574b6d7 100644 |
--- a/xfa/src/fdp/src/css/fde_csssyntax.cpp |
+++ b/xfa/src/fdp/src/css/fde_csssyntax.cpp |
@@ -444,12 +444,10 @@ int32_t CFDE_CSSTextBuf::LoadFromStream(IFX_Stream* pTxtStream, |
if (!ExpandBuf(iMaxChars)) { |
return 0; |
} |
- pTxtStream->Lock(); |
if (pTxtStream->GetPosition() != iStreamOffset) { |
pTxtStream->Seek(FX_STREAMSEEK_Begin, iStreamOffset); |
} |
m_iDatLen = pTxtStream->ReadString(m_pBuffer, iMaxChars, bEOS); |
- pTxtStream->Unlock(); |
return m_iDatLen; |
} |
FX_BOOL CFDE_CSSTextBuf::ExpandBuf(int32_t iDesiredSize) { |