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

Unified Diff: chrome/browser/chromeos/login/helper.cc

Issue 8402026: [cros] Make login screen take whole screen in case of Aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 9 years, 2 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/helper.cc
diff --git a/chrome/browser/chromeos/login/helper.cc b/chrome/browser/chromeos/login/helper.cc
index b5e56933cfbebd52e4b84b10ffeb85294f5585fe..9dd9b2d94c21410d5386655421a830c80404dd6e 100644
--- a/chrome/browser/chromeos/login/helper.cc
+++ b/chrome/browser/chromeos/login/helper.cc
@@ -161,7 +161,7 @@ views::Painter* CreateBackgroundPainter() {
}
gfx::Rect CalculateScreenBounds(const gfx::Size& size) {
- gfx::Rect bounds(gfx::Screen::GetMonitorWorkAreaNearestWindow(NULL));
+ gfx::Rect bounds(gfx::Screen::GetMonitorAreaNearestWindow(NULL));
if (!size.IsEmpty()) {
int horizontal_diff = bounds.width() - size.width();
int vertical_diff = bounds.height() - size.height();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698