| Index: chrome/browser/ui/views/wrench_menu.cc
|
| ===================================================================
|
| --- chrome/browser/ui/views/wrench_menu.cc (revision 92366)
|
| +++ chrome/browser/ui/views/wrench_menu.cc (working copy)
|
| @@ -351,7 +351,7 @@
|
| // All buttons are given the same width.
|
| int width = GetMaxChildViewPreferredWidth();
|
| for (int i = 0; i < child_count(); ++i)
|
| - GetChildViewAt(i)->SetBounds(i * width, 0, width, height());
|
| + child_at(i)->SetBounds(i * width, 0, width, height());
|
| }
|
|
|
| // ButtonListener
|
| @@ -364,7 +364,7 @@
|
| int GetMaxChildViewPreferredWidth() {
|
| int width = 0;
|
| for (int i = 0; i < child_count(); ++i)
|
| - width = std::max(width, GetChildViewAt(i)->GetPreferredSize().width());
|
| + width = std::max(width, child_at(i)->GetPreferredSize().width());
|
| return width;
|
| }
|
|
|
|
|