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

Unified Diff: ui/app_list/views/app_list_view.cc

Issue 24469006: Fixing crash Report - Magic Signature: views::View::ConvertPointToScreen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: A self check encountered a few things.. Created 7 years, 3 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: ui/app_list/views/app_list_view.cc
diff --git a/ui/app_list/views/app_list_view.cc b/ui/app_list/views/app_list_view.cc
index ae4647ff2c3d9ec0da0a148954c0b13a78fde956..c7a33275906acce124cd47f3347ffac77f3c2359 100644
--- a/ui/app_list/views/app_list_view.cc
+++ b/ui/app_list/views/app_list_view.cc
@@ -71,7 +71,7 @@ void AppListView::InitAsBubbleAttachedToAnchor(
const gfx::Vector2d& anchor_offset,
views::BubbleBorder::Arrow arrow,
bool border_accepts_events) {
- set_anchor_view(anchor);
+ SetAnchorView(anchor);
InitAsBubbleInternal(
parent, pagination_model, arrow, border_accepts_events, anchor_offset);
}
@@ -82,8 +82,8 @@ void AppListView::InitAsBubbleAtFixedLocation(
const gfx::Point& anchor_point_in_screen,
views::BubbleBorder::Arrow arrow,
bool border_accepts_events) {
- set_anchor_view(NULL);
- set_anchor_rect(gfx::Rect(anchor_point_in_screen, gfx::Size()));
+ SetAnchorView(NULL);
+ SetAnchorRect(gfx::Rect(anchor_point_in_screen, gfx::Size()));
InitAsBubbleInternal(
parent, pagination_model, arrow, border_accepts_events, gfx::Vector2d());
}
@@ -95,7 +95,7 @@ void AppListView::SetBubbleArrow(views::BubbleBorder::Arrow arrow) {
}
void AppListView::SetAnchorPoint(const gfx::Point& anchor_point) {
- set_anchor_rect(gfx::Rect(anchor_point, gfx::Size()));
+ SetAnchorRect(gfx::Rect(anchor_point, gfx::Size()));
SizeToContents(); // Repositions view relative to the anchor.
}

Powered by Google App Engine
This is Rietveld 408576698