| Index: ui/aura_shell/examples/window_type_launcher.cc
|
| diff --git a/ui/aura_shell/examples/window_type_launcher.cc b/ui/aura_shell/examples/window_type_launcher.cc
|
| index 2bf5df8881c7e7e6461d75f6add4358e9ea7ea7e..63c027882bce3f95c917a06e42da64b4c5dfc6d1 100644
|
| --- a/ui/aura_shell/examples/window_type_launcher.cc
|
| +++ b/ui/aura_shell/examples/window_type_launcher.cc
|
| @@ -123,9 +123,8 @@ void WindowTypeLauncher::ButtonPressed(views::Button* sender,
|
| ToplevelWindow::CreateToplevelWindow(ToplevelWindow::CreateParams());
|
| } else if (sender == bubble_button_) {
|
| gfx::Point origin = bubble_button_->bounds().origin();
|
| - views::View::ConvertPointToWidget(bubble_button_->parent(), &origin);
|
| - origin.Offset(10, bubble_button_->height() - 10);
|
| - CreatePointyBubble(GetWidget()->GetNativeWindow(), origin);
|
| + views::View::ConvertPointToScreen(bubble_button_->parent(), &origin);
|
| + CreatePointyBubble(GetWidget(), origin);
|
| } else if (sender == lock_button_) {
|
| CreateLock();
|
| } else if (sender == widgets_button_) {
|
|
|