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

Unified Diff: Source/core/platform/graphics/Font.cpp

Issue 28333004: Move even more data from .data to .rodata section (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 months 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
« no previous file with comments | « Source/core/inspector/WorkerDebuggerAgent.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/graphics/Font.cpp
diff --git a/Source/core/platform/graphics/Font.cpp b/Source/core/platform/graphics/Font.cpp
index e0cb2e1b272e4abd7aa043e384a86a5f6a3ca595..3ba67d93f3a28aaae6fdd7adb7ce6b4ed78e10a2 100644
--- a/Source/core/platform/graphics/Font.cpp
+++ b/Source/core/platform/graphics/Font.cpp
@@ -381,7 +381,7 @@ static inline UChar32 keyExtractorUChar32(const UChar32* value)
Font::CodePath Font::characterRangeCodePath(const UChar* characters, unsigned len)
{
- static UChar complexCodePathRanges[] = {
+ static const UChar complexCodePathRanges[] = {
// U+02E5 through U+02E9 (Modifier Letters : Tone letters)
0x2E5, 0x2E9,
// U+0300 through U+036F Combining diacritical marks
@@ -496,7 +496,7 @@ Font::CodePath Font::characterRangeCodePath(const UChar* characters, unsigned le
bool Font::isCJKIdeograph(UChar32 c)
{
- static UChar32 cjkIdeographRanges[] = {
+ static const UChar32 cjkIdeographRanges[] = {
// CJK Radicals Supplement and Kangxi Radicals.
0x2E80, 0x2FDF,
// CJK Strokes.
@@ -551,7 +551,7 @@ bool Font::isCJKIdeographOrSymbol(UChar32 c)
if (isCJKIdeograph(c))
return true;
- static UChar32 cjkSymbolRanges[] = {
+ static const UChar32 cjkSymbolRanges[] = {
0x2156, 0x215A,
0x2160, 0x216B,
0x2170, 0x217B,
« no previous file with comments | « Source/core/inspector/WorkerDebuggerAgent.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698