Index: Source/core/html/HTMLViewSourceDocument.cpp |
diff --git a/Source/core/html/HTMLViewSourceDocument.cpp b/Source/core/html/HTMLViewSourceDocument.cpp |
index aff770f310089f5cfa1ba740a6b1f6ee60854105..4a55226d0b4487a1c303cd08fa9b023b8df80a78 100644 |
--- a/Source/core/html/HTMLViewSourceDocument.cpp |
+++ b/Source/core/html/HTMLViewSourceDocument.cpp |
@@ -197,7 +197,7 @@ void HTMLViewSourceDocument::addLine(const AtomicString& className) |
// Create a cell that will hold the line number (it is generated in the stylesheet using counters). |
RefPtr<HTMLTableCellElement> td = HTMLTableCellElement::create(tdTag, *this); |
td->setAttribute(classAttr, "webkit-line-number"); |
- td->setAttribute(valueAttr, String::number(++m_lineNumber)); |
+ td->setIntegralAttribute(valueAttr, ++m_lineNumber); |
trow->parserAppendChild(td); |
// Create a second cell for the line contents |