DescriptionMove GritResourceMap arrays (~12,500 bytes) to read-only data segment
Due to a quirk in VC++ it is easy to accidentally prevent a const global
array from being placed in the read-only data segment. This change
removes a should-be-harmless 'const' keyword to work around this quirk
and move ~12,500 bytes to the .rdata (read-only) data segment in
chrome.dll.
VC++ bug is filed here:
https://connect.microsoft.com/VisualStudio/feedback/details/3117602
Other instances of this quirk have also been worked around.
BUG=677351
Patch Set 1 #Patch Set 2 : Update unit tests to match new struct #
Messages
Total messages: 16 (11 generated)
|