| Index: Source/core/html/parser/HTMLPreloadScanner.h
|
| diff --git a/Source/core/html/parser/HTMLPreloadScanner.h b/Source/core/html/parser/HTMLPreloadScanner.h
|
| index 105818d6553f6b794409d26ace34a99b27fa8cd8..50acb47f509194b73b987c8d0c2d80e6cb548ae9 100644
|
| --- a/Source/core/html/parser/HTMLPreloadScanner.h
|
| +++ b/Source/core/html/parser/HTMLPreloadScanner.h
|
| @@ -109,6 +109,19 @@
|
| size_t templateCount;
|
| };
|
|
|
| + struct PictureData {
|
| + PictureData()
|
| + : sourceSize(0.0)
|
| + , sourceSizeSet(false)
|
| + , picked(false)
|
| + {
|
| + }
|
| + String sourceURL;
|
| + float sourceSize;
|
| + bool sourceSizeSet;
|
| + bool picked;
|
| + };
|
| +
|
| CSSPreloadScanner m_cssScanner;
|
| const KURL m_documentURL;
|
| KURL m_predictedBaseElementURL;
|
| @@ -116,7 +129,7 @@
|
| bool m_inPicture;
|
| bool m_isAppCacheEnabled;
|
| bool m_isCSPEnabled;
|
| - String m_pictureSourceURL;
|
| + PictureData m_pictureData;
|
| size_t m_templateCount;
|
| OwnPtr<CachedDocumentParameters> m_documentParameters;
|
| ClientHintsPreferences m_clientHintsPreferences;
|
|
|