summaryrefslogtreecommitdiffstats
path: root/chrome/views/controls/text_field.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/views/controls/text_field.cc')
-rw-r--r--chrome/views/controls/text_field.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/views/controls/text_field.cc b/chrome/views/controls/text_field.cc
index 9d61b43..a769c2a 100644
--- a/chrome/views/controls/text_field.cc
+++ b/chrome/views/controls/text_field.cc
@@ -953,7 +953,7 @@ void TextField::ViewHierarchyChanged(bool is_add, View* parent, View* child) {
void TextField::Layout() {
if (native_view_) {
native_view_->SetBounds(GetLocalBounds(true));
- native_view_->UpdateHWNDBounds();
+ native_view_->Layout();
}
}