summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/login_prompt_gtk.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/login_prompt_gtk.cc b/chrome/browser/login_prompt_gtk.cc
index ef98d26..f38be97 100644
--- a/chrome/browser/login_prompt_gtk.cc
+++ b/chrome/browser/login_prompt_gtk.cc
@@ -175,7 +175,8 @@ class LoginHandlerGtk : public LoginHandler,
if (!WasAuthHandled(true)) {
request_loop_->PostTask(FROM_HERE, NewRunnableMethod(
this, &LoginHandlerGtk::CancelAuthDeferred));
- SendNotifications();
+ ui_loop_->PostTask(FROM_HERE, NewRunnableMethod(
+ this, &LoginHandlerGtk::SendNotifications));
}
// Delete this object once all InvokeLaters have been called.