|
Move more arrays of strings to shareable memory
Move more arrays of strings to shareable memory (either .rodata or .data.rel.ro) to
potentially reduce RAM usage on Android. This is done by using char arrays instead
of pointers when possible or by marking the pointer as const when this is not
possible.
This also reduces the number of relocations (by getting rid of the pointers), which
makes loading the library faster.
BUG= 249746
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=160835
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+26 lines, -26 lines) |
Patch |
|
M |
Source/core/css/CSSDefaultStyleSheets.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/css/FontFaceSet.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/dom/Document.cpp
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLMediaElement.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/canvas/CanvasRenderingContext2D.cpp
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/inspector/InspectorDOMDebuggerAgent.cpp
|
View
|
|
2 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
|
M |
Source/core/inspector/InspectorProfilerAgent.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderTextControl.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/modules/websockets/WebSocketDeflater.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/modules/websockets/WebSocketHandshake.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/platform/text/TextBreakIteratorICU.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/platform/text/UnicodeRange.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/web/WebFrameImpl.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|