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

Unified Diff: ui/compositor/compositor.cc

Issue 25628004: Revert r223961 and r224074 (using IO message loop instead of DEFAULT). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 | « content/renderer/render_thread_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/compositor.cc
diff --git a/ui/compositor/compositor.cc b/ui/compositor/compositor.cc
index 5bcd1af87864e70543aa34d5cd963c9f56e535b6..f125da36eb9c10bef4c263d04ad16dea9faa932c 100644
--- a/ui/compositor/compositor.cc
+++ b/ui/compositor/compositor.cc
@@ -507,18 +507,7 @@ void Compositor::Initialize() {
#endif
if (use_thread) {
g_compositor_thread = new base::Thread("Browser Compositor");
-#if defined(OS_POSIX)
- // Workaround for crbug.com/293736
- // On Posix, MessagePumpDefault uses system time, so delayed tasks (for
- // compositor scheduling) work incorrectly across system time changes (e.g.
- // tlsdate). So instead, use an IO loop, which uses libevent, that uses
- // monotonic time (immune to these problems).
- base::Thread::Options options;
- options.message_loop_type = base::MessageLoop::TYPE_IO;
- g_compositor_thread->StartWithOptions(options);
-#else
g_compositor_thread->Start();
-#endif
}
DCHECK(!g_compositor_initialized) << "Compositor initialized twice.";
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698