diff --git a/atom/browser/api/atom_api_app.cc b/atom/browser/api/atom_api_app.cc index d8e79171f879..acf7ce8c74f6 100644 --- a/atom/browser/api/atom_api_app.cc +++ b/atom/browser/api/atom_api_app.cc @@ -655,7 +655,7 @@ void App::OnGpuProcessCrashed(base::TerminationStatus status) { status == base::TERMINATION_STATUS_PROCESS_WAS_KILLED); } -base::FilePath App::GetAppPath() { +base::FilePath App::GetAppPath() const { return app_path_; } diff --git a/atom/browser/api/atom_api_app.h b/atom/browser/api/atom_api_app.h index 78871f6920ec..a87b88bc4642 100644 --- a/atom/browser/api/atom_api_app.h +++ b/atom/browser/api/atom_api_app.h @@ -70,7 +70,7 @@ class App : public AtomBrowserClient::Delegate, std::unique_ptr model); #endif - base::FilePath GetAppPath(); + base::FilePath GetAppPath() const; protected: explicit App(v8::Isolate* isolate);