Index: chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.mm |
diff --git a/chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.mm b/chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.mm |
index 645d80d507b78d30105ffaab6d048ae94c079387..4603e63148163a0fcef8d381f359f1df32bcb679 100644 |
--- a/chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.mm |
+++ b/chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.mm |
@@ -7,8 +7,8 @@ |
#include <vector> |
#include "base/mac/bundle_locations.h" |
-#include "base/message_loop/message_loop.h" |
#include "base/strings/sys_string_conversions.h" |
+#include "base/threading/thread_task_runner_handle.h" |
#include "chrome/browser/chrome_notification_types.h" |
#include "chrome/browser/content_settings/cookie_settings_factory.h" |
#include "chrome/browser/content_settings/tab_specific_content_settings.h" |
@@ -85,7 +85,7 @@ void CollectedCookiesMac::PerformClose() { |
void CollectedCookiesMac::OnConstrainedWindowClosed( |
ConstrainedWindowMac* window) { |
- base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); |
+ base::ThreadTaskRunnerHandle::Get()->DeleteSoon(FROM_HERE, this); |
} |
#pragma mark Window Controller |