Chromium Code Reviews| Index: Source/core/html/HTMLImageElement.cpp |
| diff --git a/Source/core/html/HTMLImageElement.cpp b/Source/core/html/HTMLImageElement.cpp |
| index 8698048bcb0e71fb2e8e3a223b9f907a784d47af..2bffbdcea3cdb84d1f5b4f93439362dfa0a1cdc7 100644 |
| --- a/Source/core/html/HTMLImageElement.cpp |
| +++ b/Source/core/html/HTMLImageElement.cpp |
| @@ -127,7 +127,7 @@ void HTMLImageElement::parseAttribute(const QualifiedName& name, const AtomicStr |
| } else if (name == srcAttr || name == srcsetAttr) { |
| if (RuntimeEnabledFeatures::srcsetEnabled()) { |
| ImageCandidate candidate = bestFitSourceForImageAttributes(document().devicePixelRatio(), fastGetAttribute(srcAttr), fastGetAttribute(srcsetAttr)); |
| - m_bestFitImageURL = candidate.toString(); |
| + m_bestFitImageURL = AtomicString(candidate.toString()); |
|
eseidel
2013/12/31 23:22:35
toAtomicSTring?
|
| float candidateScaleFactor = candidate.scaleFactor(); |
| if (candidateScaleFactor > 0) |
| m_imageDevicePixelRatio = 1 / candidateScaleFactor; |