| Index: Source/core/html/parser/HTMLSrcsetParser.cpp
|
| diff --git a/Source/core/html/parser/HTMLSrcsetParser.cpp b/Source/core/html/parser/HTMLSrcsetParser.cpp
|
| index 0ffe94e2987303d2537a4f3253d325bb988bfe8f..9725e96bdeaa9396b6600eaac69c36680ad01ad9 100644
|
| --- a/Source/core/html/parser/HTMLSrcsetParser.cpp
|
| +++ b/Source/core/html/parser/HTMLSrcsetParser.cpp
|
| @@ -185,7 +185,7 @@
|
| } else if (c == 'x') {
|
| if (result.hasDensity() || result.hasHeight() || result.hasWidth())
|
| return false;
|
| - float density = it->toFloat(attribute, isValid);
|
| + int density = it->toFloat(attribute, isValid);
|
| if (!isValid || density < 0)
|
| return false;
|
| result.setDensity(density);
|
|
|