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

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

Issue 10828265: Replace views::LocatedEvent with ui::LocatedEvent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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/dropdown_bar_view.cc
===================================================================
--- chrome/browser/ui/views/dropdown_bar_view.cc (revision 151267)
+++ chrome/browser/ui/views/dropdown_bar_view.cc (working copy)
@@ -58,7 +58,7 @@
// First, get the origin with respect to the screen.
gfx::Point origin = view->GetWidget()->GetWindowBoundsInScreen().origin();
// Now convert from screen to parent coordinates.
- view->ConvertPointToView(NULL, browser_view_, &origin);
+ views::View::ConvertPointToTarget(NULL, browser_view_, &origin);
// Finally, calculate the background image tiling offset.
origin = browser_view_->OffsetPointForToolbarBackgroundImage(origin);
« no previous file with comments | « chrome/browser/ui/views/download/download_item_view.cc ('k') | chrome/browser/ui/views/frame/browser_root_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698