Use FILE_PATH_LITERAL to fix build errors

This commit is contained in:
Adam Roben 2013-05-14 14:43:42 -04:00
parent 35199ba31f
commit a6c5cb04f7

View file

@ -41,7 +41,7 @@ private:
}; };
BrowserContext::BrowserContext() : resource_context_(new ResourceContext) { BrowserContext::BrowserContext() : resource_context_(new ResourceContext) {
auto prefs_path = GetPath().Append("Preferences"); auto prefs_path = GetPath().Append(FILE_PATH_LITERAL("Preferences"));
PrefServiceBuilder builder; PrefServiceBuilder builder;
builder.WithUserFilePrefs(prefs_path, builder.WithUserFilePrefs(prefs_path,
JsonPrefStore::GetTaskRunnerForFile(prefs_path, content::BrowserThread::GetBlockingPool())); JsonPrefStore::GetTaskRunnerForFile(prefs_path, content::BrowserThread::GetBlockingPool()));