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

Unified Diff: base/message_loop/message_pump_win.cc

Issue 2078913005: Add a chrome_elf_unittest ChromeElfLoadSanityTest which validates that loading chrome_elf does not … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove braces Created 4 years, 6 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
« no previous file with comments | « base/command_line.cc ('k') | chrome/installer/util/google_update_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_loop/message_pump_win.cc
diff --git a/base/message_loop/message_pump_win.cc b/base/message_loop/message_pump_win.cc
index 44bd463baa64df1743771dd9d538f70fcb13bd9a..d3a762ad59834d31256e15fa804c3049d96ed4c0 100644
--- a/base/message_loop/message_pump_win.cc
+++ b/base/message_loop/message_pump_win.cc
@@ -122,7 +122,6 @@ static const int kMessageFilterCode = 0x5001;
// MessagePumpWin public:
MessagePumpWin::MessagePumpWin() {
- InitUser32APIs();
}
void MessagePumpWin::Run(Delegate* delegate) {
@@ -175,6 +174,7 @@ int MessagePumpWin::GetCurrentDelay() const {
MessagePumpForUI::MessagePumpForUI()
: atom_(0) {
+ InitUser32APIs();
InitMessageWnd();
}
@@ -511,7 +511,9 @@ bool MessagePumpForUI::ProcessPumpReplacementMessage() {
// MessagePumpForGpu public:
MessagePumpForGpu::MessagePumpForGpu()
- : event_(CreateEvent(nullptr, FALSE, FALSE, nullptr)) {}
+ : event_(CreateEvent(nullptr, FALSE, FALSE, nullptr)) {
+ InitUser32APIs();
+}
MessagePumpForGpu::~MessagePumpForGpu() {
CloseHandle(event_);
« no previous file with comments | « base/command_line.cc ('k') | chrome/installer/util/google_update_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698