Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1906)

Unified Diff: content/app/content_main_runner.cc

Issue 1387963006: Adding error handlers to setup.exe (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/app/content_main_runner.cc
diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc
index f893d6af7fe2348e35bc202d6120075480d4979d..e3b54e50396134f52f6f0c01d5d7cd4ef3b0658f 100644
--- a/content/app/content_main_runner.cc
+++ b/content/app/content_main_runner.cc
@@ -36,7 +36,6 @@
#include "content/gpu/in_process_gpu_thread.h"
#include "content/public/app/content_main.h"
#include "content/public/app/content_main_delegate.h"
-#include "content/public/app/startup_helper_win.h"
#include "content/public/browser/content_browser_client.h"
#include "content/public/common/content_client.h"
#include "content/public/common/content_constants.h"
@@ -77,6 +76,7 @@
#include "base/strings/string_number_conversions.h"
#include "base/trace_event/trace_event_etw_export_win.h"
+#include "base/win/process_startup_helper.h"
#include "ui/base/win/atl_module.h"
#include "ui/gfx/win/dpi.h"
#elif defined(OS_MACOSX)
@@ -443,7 +443,7 @@ class ContentMainRunnerImpl : public ContentMainRunner {
base::EnableTerminationOnOutOfMemory();
#if defined(OS_WIN)
- RegisterInvalidParamHandler();
+ base::win::RegisterInvalidParamHandler();
ui::win::CreateATLModuleIfNeeded();
sandbox_info_ = *params.sandbox_info;
@@ -669,7 +669,7 @@ class ContentMainRunnerImpl : public ContentMainRunner {
}
}
#elif defined(OS_WIN)
- SetupCRT(command_line);
+ base::win::SetupCRT(command_line);
#endif
#if defined(OS_POSIX)

Powered by Google App Engine
This is Rietveld 408576698