| Index: chrome/browser/chromeos/setting_level_bubble.cc
|
| diff --git a/chrome/browser/chromeos/setting_level_bubble.cc b/chrome/browser/chromeos/setting_level_bubble.cc
|
| index dbddb0cf81c34e256ab13dc7ba67ab0a024ed79d..bb8df2362e4adcf2320bb95217fb29f28b764efb 100644
|
| --- a/chrome/browser/chromeos/setting_level_bubble.cc
|
| +++ b/chrome/browser/chromeos/setting_level_bubble.cc
|
| @@ -6,8 +6,6 @@
|
|
|
| #include <algorithm>
|
|
|
| -#include <gdk/gdk.h>
|
| -
|
| #include "chrome/browser/chromeos/login/background_view.h"
|
| #include "chrome/browser/chromeos/login/login_utils.h"
|
| #include "chrome/browser/chromeos/login/webui_login_display.h"
|
| @@ -127,7 +125,7 @@ void SettingLevelBubble::ShowBubble(double percent, bool enabled) {
|
| // specifies the center of the bubble).
|
| const gfx::Rect monitor_area =
|
| gfx::Screen::GetMonitorAreaNearestWindow(
|
| - GTK_WIDGET(parent_widget->GetNativeWindow()));
|
| + parent_widget->GetNativeView());
|
| const gfx::Size view_size = view_->GetPreferredSize();
|
| const gfx::Rect position_relative_to(
|
| monitor_area.x() + kBubbleXRatio * monitor_area.width(),
|
|
|