Merge to XFA: Update externs in unicodenormalization.cpp to not have array sizes.
authorLei Zhang <thestig@chromium.org>
Sat, 28 Feb 2015 03:47:00 +0000 (19:47 -0800)
committerLei Zhang <thestig@chromium.org>
Sat, 28 Feb 2015 03:47:00 +0000 (19:47 -0800)
Original URL: https://codereview.chromium.org/825983004

(cherry picked from commit dd132d8d1e9a27673e5357a657db2b97dda9bcdb)

Review URL: https://codereview.chromium.org/965033005

core/src/fpdftext/unicodenormalization.cpp

index c36cad7..ad2f3f6 100644 (file)
@@ -5,11 +5,11 @@
 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
 
 #include "../../include/fpdftext/fpdf_text.h"
-extern const FX_WCHAR g_UnicodeData_Normalization[65536];
-extern const FX_WCHAR g_UnicodeData_Normalization_Map1[5376];
-extern const FX_WCHAR g_UnicodeData_Normalization_Map2[1724];
-extern const FX_WCHAR g_UnicodeData_Normalization_Map3[1164];
-extern const FX_WCHAR g_UnicodeData_Normalization_Map4[488];
+extern const FX_WCHAR g_UnicodeData_Normalization[];
+extern const FX_WCHAR g_UnicodeData_Normalization_Map1[];
+extern const FX_WCHAR g_UnicodeData_Normalization_Map2[];
+extern const FX_WCHAR g_UnicodeData_Normalization_Map3[];
+extern const FX_WCHAR g_UnicodeData_Normalization_Map4[];
 FX_LPCWSTR g_UnicodeData_Normalization_Maps[5] = {
     NULL,
     g_UnicodeData_Normalization_Map1,