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

Unified Diff: chrome_elf/chrome_elf_main.cc

Issue 2472023003: Test chrome_elf User32 Import Failure (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « chrome_elf/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_elf/chrome_elf_main.cc
diff --git a/chrome_elf/chrome_elf_main.cc b/chrome_elf/chrome_elf_main.cc
index 95e0a415c41cb988fb256fe91ce2a12e9567d437..b356ab8d0032583b8198f4d2470347b7cee810d4 100644
--- a/chrome_elf/chrome_elf_main.cc
+++ b/chrome_elf/chrome_elf_main.cc
@@ -7,6 +7,7 @@
#include <assert.h>
#include <windows.h>
+#include "base/message_loop/message_pump_win.h"
#include "chrome/install_static/install_util.h"
#include "chrome_elf/blacklist/blacklist.h"
#include "chrome_elf/crash/crash_helper.h"
@@ -27,6 +28,8 @@ void SignalChromeElf() {
}
BOOL APIENTRY DllMain(HMODULE module, DWORD reason, LPVOID reserved) {
+ base::MessagePumpForUI this_is_a_bad_idea;
+
if (reason == DLL_PROCESS_ATTACH) {
// CRT on initialization installs an exception filter which calls
// TerminateProcess. We need to hook CRT's attempt to set an exception.
« no previous file with comments | « chrome_elf/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698