mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Little formating on app.getDataPath.
This commit is contained in:
@@ -79,10 +79,8 @@ base::FilePath App::GetDataPath() {
|
||||
CHECK(PathService::Get(base::DIR_APP_DATA, &path));
|
||||
#endif
|
||||
|
||||
base::FilePath data_path = path.Append(
|
||||
base::FilePath::FromUTF8Unsafe(Browser::Get()->GetName()));
|
||||
|
||||
return data_path;
|
||||
return path.Append(base::FilePath::FromUTF8Unsafe(
|
||||
Browser::Get()->GetName()));
|
||||
}
|
||||
|
||||
mate::ObjectTemplateBuilder App::GetObjectTemplateBuilder(
|
||||
|
||||
Reference in New Issue
Block a user