summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profile.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/profile.cc')
-rw-r--r--chrome/browser/profile.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/profile.cc b/chrome/browser/profile.cc
index 87c9713..c799d1a 100644
--- a/chrome/browser/profile.cc
+++ b/chrome/browser/profile.cc
@@ -93,10 +93,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;