| Index: chrome/browser/themes/browser_theme_pack.cc
|
| diff --git a/chrome/browser/themes/browser_theme_pack.cc b/chrome/browser/themes/browser_theme_pack.cc
|
| index 28c5db2bb63a8c8794faeb4e15feacfef4899b94..5daf9f737d4d3405bde2fe7503d42bd5507934aa 100644
|
| --- a/chrome/browser/themes/browser_theme_pack.cc
|
| +++ b/chrome/browser/themes/browser_theme_pack.cc
|
| @@ -288,7 +288,7 @@ RefCountedMemory* ReadFileData(const FilePath& path) {
|
| if (!path.empty()) {
|
| net::FileStream file(NULL);
|
| int flags = base::PLATFORM_FILE_OPEN | base::PLATFORM_FILE_READ;
|
| - if (file.Open(path, flags) == net::OK) {
|
| + if (file.OpenSync(path, flags) == net::OK) {
|
| int64 avail = file.Available();
|
| if (avail > 0 && avail < INT_MAX) {
|
| size_t size = static_cast<size_t>(avail);
|
|
|