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

Unified Diff: Source/core/html/HTMLViewSourceDocument.cpp

Issue 84713002: Add number() static methods to AtomicString class (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
Index: Source/core/html/HTMLViewSourceDocument.cpp
diff --git a/Source/core/html/HTMLViewSourceDocument.cpp b/Source/core/html/HTMLViewSourceDocument.cpp
index aff770f310089f5cfa1ba740a6b1f6ee60854105..0e7c561a39d036b1f015ab5cf1d7e2fda47b27bf 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->setAttribute(valueAttr, AtomicString::number(++m_lineNumber));
trow->parserAppendChild(td);
// Create a second cell for the line contents

Powered by Google App Engine
This is Rietveld 408576698