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

Unified Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_drag_drop_cocoa.mm

Issue 14307023: chrome: Use base::MessageLoop. (Part 2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 7 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: chrome/browser/ui/cocoa/bookmarks/bookmark_drag_drop_cocoa.mm
diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_drag_drop_cocoa.mm b/chrome/browser/ui/cocoa/bookmarks/bookmark_drag_drop_cocoa.mm
index a26b1200d634dbf4555f6d345cfcd74315115e3e..38915195463a0be35bfbb603ce2cb27c0b28ccbe 100644
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_drag_drop_cocoa.mm
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_drag_drop_cocoa.mm
@@ -136,8 +136,8 @@ void DragBookmarks(Profile* profile,
DCHECK(!nodes.empty());
// Allow nested message loop so we get DnD events as we drag this around.
- bool was_nested = MessageLoop::current()->IsNested();
- MessageLoop::current()->SetNestableTasksAllowed(true);
+ bool was_nested = base::MessageLoop::current()->IsNested();
+ base::MessageLoop::current()->SetNestableTasksAllowed(true);
std::vector<BookmarkNodeData::Element> elements;
for (std::vector<const BookmarkNode*>::const_iterator it = nodes.begin();
@@ -180,7 +180,7 @@ void DragBookmarks(Profile* profile,
source:nil
slideBack:YES];
- MessageLoop::current()->SetNestableTasksAllowed(was_nested);
+ base::MessageLoop::current()->SetNestableTasksAllowed(was_nested);
}
} // namespace chrome

Powered by Google App Engine
This is Rietveld 408576698