Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1264)

Unified Diff: chrome/browser/ui/views/find_bar_host_win.cc

Issue 7015051: Re-land: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/find_bar_host_win.cc
===================================================================
--- chrome/browser/ui/views/find_bar_host_win.cc (revision 85284)
+++ chrome/browser/ui/views/find_bar_host_win.cc (working copy)
@@ -20,7 +20,8 @@
void FindBarHost::GetWidgetPositionNative(gfx::Rect* avoid_overlapping_rect) {
RECT frame_rect = {0}, webcontents_rect = {0};
::GetWindowRect(
- static_cast<views::WidgetWin*>(host())->GetParent(), &frame_rect);
+ static_cast<views::WidgetWin*>(host()->native_widget())->GetParent(),
+ &frame_rect);
::GetWindowRect(
find_bar_controller_->
tab_contents()->tab_contents()->view()->GetNativeView(),
« no previous file with comments | « chrome/browser/ui/views/find_bar_host_interactive_uitest.cc ('k') | chrome/browser/ui/views/first_run_bubble.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698