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 10a154c..1c62b14 100644
--- a/chrome/views/text_field.cc
+++ b/chrome/views/text_field.cc
@@ -272,7 +272,7 @@ TextField::Edit::Edit(TextField* parent, bool draw_border)
DWORD ex_style = l10n_util::GetExtendedStyles();
RECT r = {0, 0, parent_->width(), parent_->height()};
- Create(parent_->GetWidget()->GetHWND(), r, NULL, style, ex_style);
+ Create(parent_->GetWidget()->GetNativeView(), r, NULL, style, ex_style);
if (parent->GetStyle() & TextField::STYLE_LOWERCASE) {
DCHECK((parent->GetStyle() & TextField::STYLE_PASSWORD) == 0);