| Index: chrome/browser/views/frame/browser_view.cc
|
| diff --git a/chrome/browser/views/frame/browser_view.cc b/chrome/browser/views/frame/browser_view.cc
|
| index 9930cc16cd72553ee79ac3559e1a411f277fa2b7..3c1dfc48b3a7493d856d7ae68a168f7300b08260 100644
|
| --- a/chrome/browser/views/frame/browser_view.cc
|
| +++ b/chrome/browser/views/frame/browser_view.cc
|
| @@ -325,8 +325,10 @@ void BrowserView::Init() {
|
|
|
| // Start a hung plugin window detector for this browser object (as long as
|
| // hang detection is not disabled).
|
| - if (!CommandLine().HasSwitch(switches::kDisableHangMonitor))
|
| + if (!CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kDisableHangMonitor)) {
|
| InitHangMonitor();
|
| + }
|
|
|
| LoadAccelerators();
|
| SetAccessibleName(l10n_util::GetString(IDS_PRODUCT_NAME));
|
|
|