diff --git a/atom/browser/api/atom_api_app.cc b/atom/browser/api/atom_api_app.cc index af7b64667fe2..beecaceff40e 100644 --- a/atom/browser/api/atom_api_app.cc +++ b/atom/browser/api/atom_api_app.cc @@ -1129,9 +1129,9 @@ 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 - .SetMethod("getAppMemoryInfo", &App::GetAppMetrics) - .SetMethod("enableMixedSandbox", &App::EnableMixedSandbox); + .SetMethod("getAppMemoryInfo", &App::GetAppMetrics); } } // namespace api