Fix other compilation errors
This commit is contained in:
parent
98fbe5127b
commit
5b2c0110dc
9 changed files with 16 additions and 27 deletions
|
@ -9,6 +9,7 @@
|
|||
|
||||
#include "atom/browser/native_window.h"
|
||||
#include "base/files/file_util.h"
|
||||
#include "base/mac/foundation_util.h"
|
||||
#include "base/mac/mac_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/strings/sys_string_conversions.h"
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
namespace crash_reporter {
|
||||
|
||||
CrashReporter::CrashReporter() {
|
||||
auto command_line = base::CommandLine::ForCurrentProcess();
|
||||
is_browser_ = command->GetSwitchValueASCII(switches::kProcessType).empty();
|
||||
auto cmd = base::CommandLine::ForCurrentProcess();
|
||||
is_browser_ = cmd->GetSwitchValueASCII(switches::kProcessType).empty();
|
||||
}
|
||||
|
||||
CrashReporter::~CrashReporter() {
|
||||
|
|
|
@ -112,7 +112,8 @@ std::vector<std::string> String16VectorToStringVector(
|
|||
}
|
||||
#endif
|
||||
|
||||
base::FilePath GetResourcesPath(CommandLine* command_line, bool is_browser) {
|
||||
base::FilePath GetResourcesPath(base::CommandLine* command_line,
|
||||
bool is_browser) {
|
||||
base::FilePath exec_path(command_line->argv()[0]);
|
||||
PathService::Get(base::FILE_EXE, &exec_path);
|
||||
base::FilePath resources_path =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue