Chromium Code Reviews| Index: views/controls/textfield/textfield.cc |
| =================================================================== |
| --- views/controls/textfield/textfield.cc (revision 18731) |
| +++ views/controls/textfield/textfield.cc (working copy) |
| @@ -252,6 +252,10 @@ |
| native_wrapper_->UpdateFont(); |
| native_wrapper_->UpdateEnabled(); |
| native_wrapper_->UpdateBorder(); |
| + |
| + // We need to call Layout here because any previous calls to Layout |
| + // will have short-circuited and we don't call AddChildView. |
| + Layout(); |
| } |
| } |