| Index: ui/gfx/font_fallback_win.cc
|
| diff --git a/ui/gfx/font_fallback_win.cc b/ui/gfx/font_fallback_win.cc
|
| index 2e1959b1e802ff8a17ad16b9288209c937cc3e8f..14be83cc95f87e9f95c0abca7d0171c28432f637 100644
|
| --- a/ui/gfx/font_fallback_win.cc
|
| +++ b/ui/gfx/font_fallback_win.cc
|
| @@ -25,7 +25,10 @@ void QueryFontsFromRegistry(std::map<std::string, std::string>* map) {
|
| const wchar_t* kFonts =
|
| L"Software\\Microsoft\\Windows NT\\CurrentVersion\\Fonts";
|
|
|
| - base::win::RegistryValueIterator it(HKEY_LOCAL_MACHINE, kFonts);
|
| + // This registry key is "shared" between 32-bit and 64-bit hive so safe to
|
| + // access without any WOW64 access flag. See
|
| + // http://msdn.microsoft.com/en-us/library/windows/desktop/aa384253.aspx.
|
| + base::win::RegistryValueIterator it(HKEY_LOCAL_MACHINE, kFonts, 0);
|
| for (; it.Valid(); ++it) {
|
| const std::string filename =
|
| base::StringToLowerASCII(base::WideToUTF8(it.Value()));
|
|
|