| Index: trunk/src/chrome/browser/chromeos/login/helper.cc
|
| ===================================================================
|
| --- trunk/src/chrome/browser/chromeos/login/helper.cc (revision 224497)
|
| +++ trunk/src/chrome/browser/chromeos/login/helper.cc (working copy)
|
| @@ -15,7 +15,6 @@
|
| #include "third_party/cros_system_api/dbus/service_constants.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| #include "ui/base/resource/resource_bundle.h"
|
| -#include "ui/gfx/image/image_skia.h"
|
| #include "ui/gfx/screen.h"
|
|
|
| namespace chromeos {
|
| @@ -37,7 +36,8 @@
|
| float scale_factor = gfx::Display::GetForcedDeviceScaleFactor();
|
| if (scale_factor > 1.0f)
|
| return static_cast<int>(scale_factor * kBaseUserImageSize);
|
| - return kBaseUserImageSize * gfx::ImageSkia::GetMaxSupportedScale();
|
| + return kBaseUserImageSize *
|
| + ui::GetScaleFactorScale(ui::GetMaxScaleFactor());
|
| }
|
|
|
| namespace login {
|
|
|