| Index: chrome/browser/ui/cocoa/browser_window_utils.mm
|
| diff --git a/chrome/browser/ui/cocoa/browser_window_utils.mm b/chrome/browser/ui/cocoa/browser_window_utils.mm
|
| index 3ef7b75db095f3be64abea4959c0140aae01a02b..8e07735dfc33ad7bdb3ccedea8dd81a12bddb9df 100644
|
| --- a/chrome/browser/ui/cocoa/browser_window_utils.mm
|
| +++ b/chrome/browser/ui/cocoa/browser_window_utils.mm
|
| @@ -4,8 +4,6 @@
|
|
|
| #import "chrome/browser/ui/cocoa/browser_window_utils.h"
|
|
|
| -#include <Carbon/Carbon.h>
|
| -
|
| #include "base/logging.h"
|
| #include "chrome/app/chrome_command_ids.h"
|
| #include "chrome/browser/global_keyboard_shortcuts_mac.h"
|
| @@ -149,9 +147,7 @@ const CGFloat kPatternHorizontalOffset = -5;
|
| // Per http://crbug.com/73779 and http://crbug.com/75223, we need this to
|
| // properly activate windows if Chrome is not the active application.
|
| [[controller window] makeKeyAndOrderFront:controller];
|
| - ProcessSerialNumber psn;
|
| - GetCurrentProcess(&psn);
|
| - SetFrontProcessWithOptions(&psn, kSetFrontProcessFrontWindowOnly);
|
| + [[NSRunningApplication currentApplication] activateWithOptions:0];
|
| }
|
|
|
| @end
|
|
|