| Index: Source/core/html/parser/HTMLPreloadScanner.cpp
|
| diff --git a/Source/core/html/parser/HTMLPreloadScanner.cpp b/Source/core/html/parser/HTMLPreloadScanner.cpp
|
| index 2865b39e6bfe55f54efeefcf7f184fe538944549..9be5f68cdc0d1de07a09b82dea8dfba67030428b 100644
|
| --- a/Source/core/html/parser/HTMLPreloadScanner.cpp
|
| +++ b/Source/core/html/parser/HTMLPreloadScanner.cpp
|
| @@ -182,7 +182,7 @@ public:
|
|
|
| TextPosition position = TextPosition(source.currentLine(), source.currentColumn());
|
| FetchRequest::ResourceWidth resourceWidth;
|
| - if (m_sourceSizeSet && m_srcsetImageCandidate.resourceWidth() != UninitializedDescriptor) {
|
| + if (m_sourceSizeSet) {
|
| resourceWidth.width = m_sourceSize;
|
| resourceWidth.isSet = true;
|
| } else {
|
|
|