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

Unified Diff: base/message_loop/message_pump_win.cc

Issue 2393333002: Remove code that checks if MessagePumpForGpu was signaled. (Closed)
Patch Set: Remove the code that checks if MessagePumpForGpu was signaled. It doesn't work as expected. Created 4 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
« no previous file with comments | « base/message_loop/message_pump_win.h ('k') | gpu/ipc/service/gpu_watchdog_thread.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 b9b2c8460c0640dfefb55294c13b936991e2c46d..d04827ebfb504b7db61f085d50ec07e646f52951 100644
--- a/base/message_loop/message_pump_win.cc
+++ b/base/message_loop/message_pump_win.cc
@@ -553,11 +553,6 @@ void MessagePumpForGpu::ScheduleDelayedWork(
delayed_work_time_ = delayed_work_time;
}
-bool MessagePumpForGpu::WasSignaled() {
- // If |event_| was set this would reset it back to unset state.
- return WaitForSingleObject(event_.Get(), 0) == WAIT_OBJECT_0;
-}
-
//-----------------------------------------------------------------------------
// MessagePumpForGpu private:
« no previous file with comments | « base/message_loop/message_pump_win.h ('k') | gpu/ipc/service/gpu_watchdog_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698