Index: chrome/browser/ui/views/tab_contents/native_tab_contents_view_gtk.cc |
diff --git a/chrome/browser/ui/views/tab_contents/native_tab_contents_view_gtk.cc b/chrome/browser/ui/views/tab_contents/native_tab_contents_view_gtk.cc |
index 5534d9274b6e2d3e8c089333c01b1fe99e6d9677..d9a1adf380dcf6b87dfbbdfdc22c2d9b74d6d27f 100644 |
--- a/chrome/browser/ui/views/tab_contents/native_tab_contents_view_gtk.cc |
+++ b/chrome/browser/ui/views/tab_contents/native_tab_contents_view_gtk.cc |
@@ -285,7 +285,7 @@ void NativeTabContentsViewGtk::PositionConstrainedWindows( |
#if defined(OS_CHROMEOS) |
// TODO(ivankr): this is a hack to display proxy authentication dialog |
// centered during the sign-in phase. See http://crosbug/20819. |
- if (!chromeos::UserManager::Get()->user_is_logged_in()) |
+ if (!chromeos::UserManager::Get()->IsUserLoggedIn()) |
child_y = std::max(view_size.height() / 2 - (requisition.height / 2), 0); |
#endif |
PositionChild(widget, child_x, child_y, 0, 0); |