diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-21 15:17:08 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-21 15:17:08 +0000 |
commit | a3c0ff2f030aeae7693cf9face34eb2b6ded4308 (patch) | |
tree | 9af339d5dec3a7d46045b99cd525bea19bd82e26 /chrome/browser/views/toolbar_star_toggle.cc | |
parent | 4c53eba29fc1af82454136df4522cfd3eab40d4a (diff) | |
download | chromium_src-a3c0ff2f030aeae7693cf9face34eb2b6ded4308.zip chromium_src-a3c0ff2f030aeae7693cf9face34eb2b6ded4308.tar.gz chromium_src-a3c0ff2f030aeae7693cf9face34eb2b6ded4308.tar.bz2 |
Gets info_bubble compiling on linux. This code has a ton of ifdefs. It
would be cleaner to refactor. I'll do that later on though. I've added
a TODO to that effect.
Review URL: http://codereview.chromium.org/113679
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16602 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/toolbar_star_toggle.cc')
-rw-r--r-- | chrome/browser/views/toolbar_star_toggle.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/browser/views/toolbar_star_toggle.cc b/chrome/browser/views/toolbar_star_toggle.cc index 330bb6c..e9440e4 100644 --- a/chrome/browser/views/toolbar_star_toggle.cc +++ b/chrome/browser/views/toolbar_star_toggle.cc @@ -42,10 +42,8 @@ void ToolbarStarToggle::ShowStarBubble(const GURL& url, bool newly_bookmarked) { // of the star. gfx::Rect star_bounds(star_location.x() + 1, star_location.y(), width(), height()); - HWND parent_hwnd = - reinterpret_cast<HWND>(host_->browser()->window()->GetNativeHandle()); - BookmarkBubbleView::Show(parent_hwnd, star_bounds, this, host_->profile(), - url, newly_bookmarked); + BookmarkBubbleView::Show(host_->GetWindow(), star_bounds, this, + host_->profile(), url, newly_bookmarked); } bool ToolbarStarToggle::OnMousePressed(const views::MouseEvent& e) { |