Little formating on app.getDataPath.

This commit is contained in:
Cheng Zhao 2014-08-17 11:33:55 +08:00
parent 73bb05e530
commit 78afa29ade
2 changed files with 6 additions and 9 deletions

View file

@ -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(