| Index: chrome/browser/gtk/browser_window_gtk.cc
|
| diff --git a/chrome/browser/gtk/browser_window_gtk.cc b/chrome/browser/gtk/browser_window_gtk.cc
|
| index b436f60434589b2ba0b9eafe6f971fb578652639..c9950ff78073d9a4b12a9a967fbb11a8e380bc00 100644
|
| --- a/chrome/browser/gtk/browser_window_gtk.cc
|
| +++ b/chrome/browser/gtk/browser_window_gtk.cc
|
| @@ -1019,7 +1019,11 @@ void BrowserWindowGtk::ShowPageInfo(Profile* profile,
|
| const GURL& url,
|
| const NavigationEntry::SSLStatus& ssl,
|
| bool show_history) {
|
| - browser::ShowPageInfo(window_, profile, url, ssl, show_history);
|
| + const CommandLine* command_line(CommandLine::ForCurrentProcess());
|
| + if (command_line->HasSwitch(switches::kEnableNewPageInfoBubble))
|
| + browser::ShowPageInfoBubble(window_, profile, url, ssl, show_history);
|
| + else
|
| + browser::ShowPageInfo(window_, profile, url, ssl, show_history);
|
| }
|
|
|
| void BrowserWindowGtk::ShowAppMenu() {
|
|
|