| Index: chrome/test/base/interactive_test_utils_mac.mm
|
| diff --git a/chrome/test/base/interactive_test_utils_mac.mm b/chrome/test/base/interactive_test_utils_mac.mm
|
| index 0d00f3a6614e3aacd4c9141ed971ae02590ea1d1..42ee5f272fd471c77ac778d80b31934fc7ecf378 100644
|
| --- a/chrome/test/base/interactive_test_utils_mac.mm
|
| +++ b/chrome/test/base/interactive_test_utils_mac.mm
|
| @@ -21,7 +21,7 @@ bool ShowAndFocusNativeWindow(gfx::NativeWindow window) {
|
| // Make sure an unbundled program can get the input focus.
|
| ProcessSerialNumber psn = { 0, kCurrentProcess };
|
| TransformProcessType(&psn,kProcessTransformToForegroundApplication);
|
| - SetFrontProcess(&psn);
|
| + [[NSApplication sharedApplication] activateIgnoringOtherApps:YES];
|
|
|
| base::scoped_nsobject<WindowedNSNotificationObserver> async_waiter;
|
| if (![window isKeyWindow]) {
|
|
|