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

Unified Diff: ios/chrome/browser/infobars/infobar_container_ios.mm

Issue 2132593002: Remove remaining calls to deprecated MessageLoop methods on Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: h264_vt_encoder_unittest.cc Created 4 years, 5 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
Index: ios/chrome/browser/infobars/infobar_container_ios.mm
diff --git a/ios/chrome/browser/infobars/infobar_container_ios.mm b/ios/chrome/browser/infobars/infobar_container_ios.mm
index ecd0ebe83bd45816b5a4577a83cb70247dd89b95..d1141bcb86cbf1476757ebc01603bf84c2405a69 100644
--- a/ios/chrome/browser/infobars/infobar_container_ios.mm
+++ b/ios/chrome/browser/infobars/infobar_container_ios.mm
@@ -8,7 +8,7 @@
#import <UIKit/UIKit.h>
#include "base/logging.h"
-#include "base/message_loop/message_loop.h"
+#include "base/threading/thread_task_runner_handle.h"
#include "ios/chrome/browser/infobars/infobar.h"
#include "ios/chrome/browser/infobars/infobar_container_view.h"
#include "ios/public/provider/chrome/browser/chrome_browser_provider.h"
@@ -52,7 +52,7 @@ void InfoBarContainerIOS::PlatformSpecificRemoveInfoBar(
// TODO(rohitrao, jif): [Merge 239355] Upstream InfoBarContainer deletes the
// infobar. Avoid deleting it here.
// crbug.com/327290
- // base::MessageLoop::current()->DeleteSoon(FROM_HERE, infobar_ios);
+ // base::ThreadTaskRunnerHandle::Get()->DeleteSoon(FROM_HERE, infobar_ios);
}
void InfoBarContainerIOS::PlatformSpecificInfoBarStateChanged(

Powered by Google App Engine
This is Rietveld 408576698