Fix cpplint errors in application_info_win.cc
This commit is contained in:
parent
4938fc62ad
commit
d0566e6e05
1 changed files with 6 additions and 2 deletions
|
@ -7,12 +7,16 @@
|
||||||
namespace brightray {
|
namespace brightray {
|
||||||
|
|
||||||
std::string GetApplicationName() {
|
std::string GetApplicationName() {
|
||||||
auto info = make_scoped_ptr(FileVersionInfo::CreateFileVersionInfoForModule(GetModuleHandle(nullptr)));
|
auto module = GetModuleHandle(nullptr);
|
||||||
|
auto info = make_scoped_ptr(
|
||||||
|
FileVersionInfo::CreateFileVersionInfoForModule(module));
|
||||||
return UTF16ToUTF8(info->product_name());
|
return UTF16ToUTF8(info->product_name());
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string GetApplicationVersion() {
|
std::string GetApplicationVersion() {
|
||||||
auto info = make_scoped_ptr(FileVersionInfo::CreateFileVersionInfoForModule(GetModuleHandle(nullptr)));
|
auto module = GetModuleHandle(nullptr);
|
||||||
|
auto info = make_scoped_ptr(
|
||||||
|
FileVersionInfo::CreateFileVersionInfoForModule(module));
|
||||||
return UTF16ToUTF8(info->product_version());
|
return UTF16ToUTF8(info->product_version());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue