From 628744f9e14c5f8b9950ebaf6c75a7e91fa81e5e Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 28 Jun 2017 08:37:56 -0700 Subject: [PATCH] Put enableMixedSandbox before deprecation TODO --- atom/browser/api/atom_api_app.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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