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

Side by Side Diff: xfa/fde/css/fde_cssdatatable.h

Issue 2535663003: Fix crash in CFDE_CSSSyntaxParser when parsing empty url (Closed)
Patch Set: Comments Created 4 years 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 unified diff | Download patch
« no previous file with comments | « no previous file | xfa/fde/css/fde_cssdatatable.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef XFA_FDE_CSS_FDE_CSSDATATABLE_H_ 7 #ifndef XFA_FDE_CSS_FDE_CSSDATATABLE_H_
8 #define XFA_FDE_CSS_FDE_CSSDATATABLE_H_ 8 #define XFA_FDE_CSS_FDE_CSSDATATABLE_H_
9 9
10 #include "core/fxcrt/fx_system.h" 10 #include "core/fxcrt/fx_system.h"
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 }; 154 };
155 typedef FDE_CSSPERSUDOTABLE const* FDE_LPCCSSPERSUDOTABLE; 155 typedef FDE_CSSPERSUDOTABLE const* FDE_LPCCSSPERSUDOTABLE;
156 156
157 FDE_LPCCSSPERSUDOTABLE FDE_GetCSSPersudoByEnum(FDE_CSSPERSUDO ePersudo); 157 FDE_LPCCSSPERSUDOTABLE FDE_GetCSSPersudoByEnum(FDE_CSSPERSUDO ePersudo);
158 bool FDE_ParseCSSNumber(const FX_WCHAR* pszValue, 158 bool FDE_ParseCSSNumber(const FX_WCHAR* pszValue,
159 int32_t iValueLen, 159 int32_t iValueLen,
160 FX_FLOAT& fValue, 160 FX_FLOAT& fValue,
161 FDE_CSSPRIMITIVETYPE& eUnit); 161 FDE_CSSPRIMITIVETYPE& eUnit);
162 bool FDE_ParseCSSString(const FX_WCHAR* pszValue, 162 bool FDE_ParseCSSString(const FX_WCHAR* pszValue,
163 int32_t iValueLen, 163 int32_t iValueLen,
164 int32_t& iOffset, 164 int32_t* iOffset,
165 int32_t& iLength); 165 int32_t* iLength);
166 bool FDE_ParseCSSColor(const FX_WCHAR* pszValue, 166 bool FDE_ParseCSSColor(const FX_WCHAR* pszValue,
167 int32_t iValueLen, 167 int32_t iValueLen,
168 FX_ARGB& dwColor); 168 FX_ARGB& dwColor);
169 bool FDE_ParseCSSURI(const FX_WCHAR* pszValue, 169 bool FDE_ParseCSSURI(const FX_WCHAR* pszValue,
170 int32_t iValueLen, 170 int32_t* iOffset,
171 int32_t& iOffset, 171 int32_t* iLength);
172 int32_t& iLength);
173 172
174 #endif // XFA_FDE_CSS_FDE_CSSDATATABLE_H_ 173 #endif // XFA_FDE_CSS_FDE_CSSDATATABLE_H_
OLDNEW
« no previous file with comments | « no previous file | xfa/fde/css/fde_cssdatatable.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698