diff options
Diffstat (limited to 'chrome/views/text_field.cc')
-rw-r--r-- | chrome/views/text_field.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/views/text_field.cc b/chrome/views/text_field.cc index 6968b2b..2991040 100644 --- a/chrome/views/text_field.cc +++ b/chrome/views/text_field.cc @@ -20,9 +20,9 @@ #include "chrome/common/l10n_util.h" #include "chrome/common/logging_chrome.h" #include "chrome/common/win_util.h" +#include "chrome/views/container.h" #include "chrome/views/hwnd_view.h" #include "chrome/views/menu.h" -#include "chrome/views/view_container.h" #include "generated_resources.h" @@ -248,7 +248,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_->GetViewContainer()->GetHWND(), r, NULL, style, ex_style); + Create(parent_->GetContainer()->GetHWND(), r, NULL, style, ex_style); // Set up the text_object_model_. CComPtr<IRichEditOle> ole_interface; @@ -800,9 +800,9 @@ TextField::~TextField() { } void TextField::ViewHierarchyChanged(bool is_add, View* parent, View* child) { - ViewContainer* vc; + Container* vc; - if (is_add && (vc = GetViewContainer())) { + if (is_add && (vc = GetContainer())) { // This notification is called from the AddChildView call below. Ignore it. if (native_view_ && !edit_) return; |