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

Unified Diff: Source/core/html/parser/HTMLPreloadScanner.h

Issue 1217703002: Revert of Fix CH Width header when preloadScanner and <picture> are involved (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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 | Source/core/html/parser/HTMLPreloadScanner.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/parser/HTMLPreloadScanner.h
diff --git a/Source/core/html/parser/HTMLPreloadScanner.h b/Source/core/html/parser/HTMLPreloadScanner.h
index 50acb47f509194b73b987c8d0c2d80e6cb548ae9..105818d6553f6b794409d26ace34a99b27fa8cd8 100644
--- a/Source/core/html/parser/HTMLPreloadScanner.h
+++ b/Source/core/html/parser/HTMLPreloadScanner.h
@@ -109,19 +109,6 @@
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;
@@ -129,7 +116,7 @@
bool m_inPicture;
bool m_isAppCacheEnabled;
bool m_isCSPEnabled;
- PictureData m_pictureData;
+ String m_pictureSourceURL;
size_t m_templateCount;
OwnPtr<CachedDocumentParameters> m_documentParameters;
ClientHintsPreferences m_clientHintsPreferences;
« no previous file with comments | « no previous file | Source/core/html/parser/HTMLPreloadScanner.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698