mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
remove app.getAppMemoryInfo (#11985)
* remove app.getMemoryInfo * semicolons are important
This commit is contained in:
committed by
Charles Kerr
parent
dcaff20cfd
commit
c2575c4944
@@ -1256,7 +1256,6 @@ void App::BuildPrototype(
|
||||
.SetMethod("getFileIcon", &App::GetFileIcon)
|
||||
.SetMethod("getAppMetrics", &App::GetAppMetrics)
|
||||
.SetMethod("getGPUFeatureStatus", &App::GetGPUFeatureStatus)
|
||||
.SetMethod("enableMixedSandbox", &App::EnableMixedSandbox)
|
||||
// TODO(juturu): Remove in 2.0, deprecate before then with warnings
|
||||
#if defined(OS_MACOSX)
|
||||
.SetMethod("moveToApplicationsFolder", &App::MoveToApplicationsFolder)
|
||||
@@ -1266,7 +1265,7 @@ void App::BuildPrototype(
|
||||
.SetMethod("startAccessingSecurityScopedResource",
|
||||
&App::StartAccessingSecurityScopedResource)
|
||||
#endif
|
||||
.SetMethod("getAppMemoryInfo", &App::GetAppMetrics);
|
||||
.SetMethod("enableMixedSandbox", &App::EnableMixedSandbox);
|
||||
}
|
||||
|
||||
} // namespace api
|
||||
|
||||
Reference in New Issue
Block a user