|
Add number() static methods to AtomicString class
Add number() static methods to AtomicString class as a lot of callers need it and
previously had to use String::number() then convert the String to an AtomicString.
Calling AtomicString::number() directly when the caller needs an AtomicString is
~2% faster.
Also refactored HTML code to use the Element helper methods for Number attributes.
R=eseidel
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=162593
Total comments: 11
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+142 lines, -81 lines) |
Patch |
|
M |
Source/bindings/v8/V8StringResource.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/dom/DOMStringMap.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
|
Source/core/dom/Element.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/Element.cpp
|
View
|
1
2
3
4
5
|
2 chunks |
+12 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/core/editing/BreakBlockquoteCommand.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLBodyElement.cpp
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLCanvasElement.cpp
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLElement.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLImageElement.cpp
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLInputElement.cpp
|
View
|
1
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLMeterElement.cpp
|
View
|
1
|
7 chunks |
+12 lines, -12 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLOListElement.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLProgressElement.cpp
|
View
|
1
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLSelectElement.cpp
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLTableCellElement.cpp
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLTableColElement.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLTextAreaElement.cpp
|
View
|
1
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLViewSourceDocument.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/parser/HTMLParserIdioms.h
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
|
M |
Source/core/html/parser/HTMLParserIdioms.cpp
|
View
|
1
2
3
4
5
|
3 chunks |
+0 lines, -11 lines |
0 comments
|
Download
|
|
M |
Source/core/html/shadow/MediaControlElements.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/storage/Storage.cpp
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/wtf/text/AtomicString.h
|
View
|
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/wtf/text/AtomicString.cpp
|
View
|
|
2 chunks |
+38 lines, -0 lines |
0 comments
|
Download
|
|
A + |
Source/wtf/text/AtomicStringTest.cpp
|
View
|
1
|
1 chunk |
+27 lines, -16 lines |
0 comments
|
Download
|
|
M |
Source/wtf/text/IntegerToStringConversion.h
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/wtf/wtf.gypi
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 15 (0 generated)
|