Index: chrome/browser/profile.cc |
diff --git a/chrome/browser/profile.cc b/chrome/browser/profile.cc |
index 450864417704803142d869046a0e70fc63d8bf53..2894afab61b4b0fd2d9f7c2890631b46e30c430d 100644 |
--- a/chrome/browser/profile.cc |
+++ b/chrome/browser/profile.cc |
@@ -92,10 +92,10 @@ void GetCacheParameters(ContextType type, FilePath* cache_path, |
*cache_path = FilePath::FromWStringHack(user_path); |
} |
- const wchar_t* arg = kNormalContext == type ? switches::kDiskCacheSize : |
- switches::kMediaCacheSize; |
+ const char* arg = kNormalContext == type ? switches::kDiskCacheSize : |
+ switches::kMediaCacheSize; |
std::string value = |
- WideToASCII(CommandLine::ForCurrentProcess()->GetSwitchValue(arg)); |
+ CommandLine::ForCurrentProcess()->GetSwitchValueASCII(arg); |
// By default we let the cache determine the right size. |
*max_size = 0; |