| Index: chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc
|
| diff --git a/chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc b/chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc
|
| index 68ac3cd061bfc747ad2478cb2114bc19d9ef487e..acde11fee9f2d40adbec1c2d6e9cd69a6d34049e 100644
|
| --- a/chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc
|
| +++ b/chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc
|
| @@ -690,7 +690,7 @@ bool BookmarkBarGtk::GetTabContentsSize(gfx::Size* size) {
|
| NOTREACHED();
|
| return false;
|
| }
|
| - WebContents* web_contents = browser->GetSelectedWebContents();
|
| + WebContents* web_contents = browser->GetActiveWebContents();
|
| if (!web_contents) {
|
| // It is possible to have a browser but no WebContents while under testing,
|
| // so don't NOTREACHED() and error the program.
|
|
|