| Index: chrome/browser/gtk/tab_strip_gtk.cc
|
| diff --git a/chrome/browser/gtk/tab_strip_gtk.cc b/chrome/browser/gtk/tab_strip_gtk.cc
|
| index 2e7b4fc0a4f1e4ba1afeac87039fe2a92151ca90..4ea7773657e539e731262e29a2138916eb6dd6b0 100644
|
| --- a/chrome/browser/gtk/tab_strip_gtk.cc
|
| +++ b/chrome/browser/gtk/tab_strip_gtk.cc
|
| @@ -426,6 +426,9 @@ gboolean TabStripGtk::OnExpose(GtkWidget* widget, GdkEventExpose* e,
|
| tabstrip->tabstrip_.get()->allocation.width,
|
| tabstrip->tabstrip_.get()->allocation.height);
|
|
|
| + if (model->count() == 0)
|
| + return TRUE;
|
| +
|
| for (int i = 0; i < model->count(); i++) {
|
| if (i != selected) {
|
| tabstrip->PaintTab(i, false);
|
|
|