Bug 801362 - Fixed typo (>= s/b <=) introduced in bug 797239. r=cjones
authorDave Hylands <dhylands@mozilla.com>
Sat, 13 Oct 2012 21:25:23 -0700
changeset 118152 ffc0fb337aa0b8b8943226cfa01e33b69b5754d8
parent 118151 d9e070c062f0dba3d724ec9f7cfc82f151dfd919
child 118153 796eea064cd4dd0d71b80880ca095d5f563c5a2e
push id1997
push userakeybl@mozilla.com
push dateMon, 07 Jan 2013 21:25:26 +0000
treeherdermozilla-beta@4baf45cdcf21 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerscjones
bugs801362, 797239
milestone19.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 801362 - Fixed typo (>= s/b <=) introduced in bug 797239. r=cjones
ipc/chromium/src/base/message_loop.cc
--- a/ipc/chromium/src/base/message_loop.cc
+++ b/ipc/chromium/src/base/message_loop.cc
@@ -332,17 +332,17 @@ void MessageLoop::RunTask(Task* task) {
 
   task->Run();
   delete task;
 
   nestable_tasks_allowed_ = true;
 }
 
 bool MessageLoop::DeferOrRunPendingTask(const PendingTask& pending_task) {
-  if (pending_task.nestable || state_->run_depth >= run_depth_base_) {
+  if (pending_task.nestable || state_->run_depth <= run_depth_base_) {
     RunTask(pending_task.task);
     // Show that we ran a task (Note: a new one might arrive as a
     // consequence!).
     return true;
   }
 
   // We couldn't run the task now because we're in a nested message loop
   // and the task isn't nestable.