Index: chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm |
diff --git a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm |
index 47387327fd660ee3db3fd4a5ed91aa564b724d46..500a8d83847b93a255d1a716348c028ac80d6949 100644 |
--- a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm |
+++ b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm |
@@ -7,11 +7,11 @@ |
#include "base/bind.h" |
#include "base/command_line.h" |
#import "base/mac/mac_util.h" |
-#include "base/message_loop/message_loop.h" |
#include "base/stl_util.h" |
#include "base/strings/string_util.h" |
#include "base/strings/sys_string_conversions.h" |
#include "base/strings/utf_string_conversions.h" |
+#include "base/threading/thread_task_runner_handle.h" |
#include "chrome/app/chrome_command_ids.h" |
#import "chrome/browser/app_controller_mac.h" |
#include "chrome/browser/command_updater.h" |
@@ -155,7 +155,7 @@ LocationBarViewMac::~LocationBarViewMac() { |
void LocationBarViewMac::ShowFirstRunBubble() { |
// We need the browser window to be shown before we can show the bubble, but |
// we get called before that's happened. |
- base::MessageLoop::current()->PostTask( |
+ base::ThreadTaskRunnerHandle::Get()->PostTask( |
FROM_HERE, base::Bind(&LocationBarViewMac::ShowFirstRunBubbleInternal, |
weak_ptr_factory_.GetWeakPtr())); |
} |