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

Unified Diff: ash/shelf/overflow_bubble.cc

Issue 24469006: Fixing crash Report - Magic Signature: views::View::ConvertPointToScreen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed 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
« no previous file with comments | « no previous file | ash/wm/caption_buttons/maximize_bubble_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/overflow_bubble.cc
diff --git a/ash/shelf/overflow_bubble.cc b/ash/shelf/overflow_bubble.cc
index 84a3b8bdd329492462e85d5911dd6fbaf8e4727a..f8c35ee4e7ad5964d58774a81c75b9e8ad2039a2 100644
--- a/ash/shelf/overflow_bubble.cc
+++ b/ash/shelf/overflow_bubble.cc
@@ -82,7 +82,7 @@ class OverflowBubbleView : public views::BubbleDelegateView {
ShelfLayoutManager* GetShelfLayoutManagerForLauncher() const {
return ShelfLayoutManager::ForLauncher(
- anchor_view()->GetWidget()->GetNativeView());
+ GetAnchorView()->GetWidget()->GetNativeView());
}
LauncherView* launcher_view_; // Owned by views hierarchy.
@@ -102,7 +102,7 @@ void OverflowBubbleView::InitOverflowBubble(views::View* anchor,
LauncherView* launcher_view) {
// set_anchor_view needs to be called before GetShelfLayoutManagerForLauncher
// can be called.
- set_anchor_view(anchor);
+ SetAnchorView(anchor);
set_arrow(GetBubbleArrow());
set_background(NULL);
set_color(SkColorSetARGB(kLauncherBackgroundAlpha, 0, 0, 0));
« no previous file with comments | « no previous file | ash/wm/caption_buttons/maximize_bubble_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698