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

Unified Diff: third_party/WebKit/Source/platform/text/Character.cpp

Issue 2608823002: Move blink::serializedCharacterData array to read-only data segment (Closed)
Patch Set: Might as well mark serializedCharacterDataSize as const also Created 4 years 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 | « no previous file | third_party/WebKit/Source/platform/text/CharacterPropertyDataGenerator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/text/Character.cpp
diff --git a/third_party/WebKit/Source/platform/text/Character.cpp b/third_party/WebKit/Source/platform/text/Character.cpp
index f4b0bf536950eff898d9e53d9b9d31b62c037b57..57fe4e7392836c01072c27b77657aab9adf21f08 100644
--- a/third_party/WebKit/Source/platform/text/Character.cpp
+++ b/third_party/WebKit/Source/platform/text/Character.cpp
@@ -75,8 +75,8 @@ static icu::UnicodeSet* createUnicodeSet(const UChar32* characters,
return unicodeSet->contains(c);
#else
// Freezed trie tree, see CharacterDataGenerator.cpp.
-extern int32_t serializedCharacterDataSize;
-extern uint8_t serializedCharacterData[];
+extern const int32_t serializedCharacterDataSize;
+extern const uint8_t serializedCharacterData[];
static UTrie2* createTrie() {
// Create a Trie from the value array.
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/text/CharacterPropertyDataGenerator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698