| Index: chrome/browser/app_controller_mac.mm
|
| diff --git a/chrome/browser/app_controller_mac.mm b/chrome/browser/app_controller_mac.mm
|
| index f6e6ec5789882d8e481490891267886b5720e671..a0a1a6576848523171c1407d0a43dc7e7ed3045a 100644
|
| --- a/chrome/browser/app_controller_mac.mm
|
| +++ b/chrome/browser/app_controller_mac.mm
|
| @@ -946,8 +946,9 @@ class AppControllerProfileObserver : public ProfileAttributesStorage::Observer {
|
| // nested message loop and commands dispatched during this operation cause
|
| // havoc.
|
| if (SessionRestore::IsRestoring(lastProfile) &&
|
| - base::MessageLoop::current()->IsNested())
|
| + base::RunLoop::IsNestedOnCurrentThread()) {
|
| return;
|
| + }
|
|
|
| NSInteger tag = [sender tag];
|
|
|
|
|