Skip to content
This repository has been archived by the owner on Jan 4, 2019. It is now read-only.

Commit

Permalink
Removed NodeMain from atom_main; removed unused printing_handler_win
Browse files Browse the repository at this point in the history
(windows only)
  • Loading branch information
bsclifton authored and bridiver committed Dec 9, 2016
1 parent df57138 commit 46407b6
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 200 deletions.
7 changes: 1 addition & 6 deletions atom/app/atom_main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,7 @@ int APIENTRY wWinMain(HINSTANCE instance, HINSTANCE, wchar_t* cmd, int) {
}
}

if (run_as_node) {
// Now that argv conversion is done, we can finally start.
base::AtExitManager atexit_manager;
base::i18n::InitializeICU();
return atom::NodeMain(argc, argv);
} else if (IsEnvSet("ELECTRON_INTERNAL_CRASH_SERVICE")) {
if (IsEnvSet("ELECTRON_INTERNAL_CRASH_SERVICE")) {
return crash_service::Main(cmd);
}

Expand Down
4 changes: 0 additions & 4 deletions atom/utility/atom_content_utility_client.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@
#include "net/proxy/proxy_resolver_v8.h"
#include "services/shell/public/cpp/interface_registry.h"

#if defined(OS_WIN)
#include "chrome/utility/printing_handler_win.h"
#endif

#if defined(ENABLE_EXTENSIONS)
#include "atom/common/extensions/atom_extensions_client.h"
#include "extensions/utility/utility_handler.h"
Expand Down
1 change: 1 addition & 0 deletions build/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ config("electron_config") {
"/wd4610", # user defined constructor required
"/wd4702", # unreachable code
"/wd4819", # The file contains a character that cannot be represented in the current code page
"/wd4267", # conversion from 'size_t' to 'int', possible loss of data
]
}

Expand Down
139 changes: 0 additions & 139 deletions chromium_src/chrome/utility/printing_handler_win.cc

This file was deleted.

51 changes: 0 additions & 51 deletions chromium_src/chrome/utility/printing_handler_win.h

This file was deleted.

0 comments on commit 46407b6

Please sign in to comment.