summaryrefslogtreecommitdiffstats
path: root/chrome/views/text_field.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/views/text_field.cc')
-rw-r--r--chrome/views/text_field.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/views/text_field.cc b/chrome/views/text_field.cc
index 7d0cd93..8d61868 100644
--- a/chrome/views/text_field.cc
+++ b/chrome/views/text_field.cc
@@ -247,7 +247,7 @@ TextField::Edit::Edit(TextField* parent, bool draw_border)
// Make sure we apply RTL related extended window styles if necessary.
DWORD ex_style = l10n_util::GetExtendedStyles();
- RECT r = {0, 0, parent_->GetWidth(), parent_->GetHeight()};
+ RECT r = {0, 0, parent_->width(), parent_->height()};
Create(parent_->GetViewContainer()->GetHWND(), r, NULL, style, ex_style);
// Set up the text_object_model_.