| Index: ui/aura/monitor_manager.cc
|
| diff --git a/ui/aura/monitor_manager.cc b/ui/aura/monitor_manager.cc
|
| index 00535ce4bf0401e62c45bb72f4fc905f2a55435b..3f3b980dcdfe127b96e8f6933456118d44184108 100644
|
| --- a/ui/aura/monitor_manager.cc
|
| +++ b/ui/aura/monitor_manager.cc
|
| @@ -32,7 +32,7 @@ gfx::Monitor MonitorManager::CreateMonitorFromSpec(const std::string& spec) {
|
| gfx::Rect bounds(kDefaultHostWindowX, kDefaultHostWindowY,
|
| kDefaultHostWindowWidth, kDefaultHostWindowHeight);
|
| int x = 0, y = 0, width, height;
|
| - float scale = 1.0f;
|
| + float scale = gfx::Monitor::GetDefaultDeviceScaleFactor();
|
| if (sscanf(spec.c_str(), "%dx%d*%f", &width, &height, &scale) >= 2) {
|
| bounds.set_size(gfx::Size(width, height));
|
| } else if (sscanf(spec.c_str(), "%d+%d-%dx%d*%f", &x, &y, &width, &height,
|
|
|