summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-24 19:24:51 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-24 19:24:51 +0000
commit79fdaa6a2da3a8b4f3b75cb9c5648415f426ed84 (patch)
tree416b1a100ff8de3e7e65446e163f646207d78f1b /chrome
parent51260d12d8faf384b43fdf85a4e5cb2927f18b95 (diff)
downloadchromium_src-79fdaa6a2da3a8b4f3b75cb9c5648415f426ed84.zip
chromium_src-79fdaa6a2da3a8b4f3b75cb9c5648415f426ed84.tar.gz
chromium_src-79fdaa6a2da3a8b4f3b75cb9c5648415f426ed84.tar.bz2
Try to fix compile failure.
BUG=27570 TEST=none TBR=estade Review URL: http://codereview.chromium.org/1302001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42509 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/chromeos/compact_location_bar_view.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/chromeos/compact_location_bar_view.cc b/chrome/browser/chromeos/compact_location_bar_view.cc
index 2ef1b21..28faefc 100644
--- a/chrome/browser/chromeos/compact_location_bar_view.cc
+++ b/chrome/browser/chromeos/compact_location_bar_view.cc
@@ -112,13 +112,13 @@ void CompactLocationBarView::Init() {
location_entry_->Init();
location_entry_->Update(browser()->GetSelectedTabContents());
- gtk_widget_show_all(location_entry_->widget());
- gtk_widget_hide(location_entry_->widget());
+ gtk_widget_show_all(location_entry_->GetNativeView());
+ gtk_widget_hide(location_entry_->GetNativeView());
location_entry_view_ = new views::NativeViewHost;
AddChildView(location_entry_view_);
location_entry_view_->set_focus_view(this);
- location_entry_view_->Attach(location_entry_->widget());
+ location_entry_view_->Attach(location_entry_->GetNativeView());
star_ = new ToolbarStarToggle(this);
star_->SetDragController(this);