Chromium Code Reviews| Index: ui/aura/monitor_manager.cc |
| diff --git a/ui/aura/monitor_manager.cc b/ui/aura/monitor_manager.cc |
| index 206a5c6bf6f3228fa790f097e842feea59bc377e..9d12e8049e5abdf5c7e662cdbe44348b9e189579 100644 |
| --- a/ui/aura/monitor_manager.cc |
| +++ b/ui/aura/monitor_manager.cc |
| @@ -32,7 +32,7 @@ gfx::Display MonitorManager::CreateMonitorFromSpec(const std::string& spec) { |
| gfx::Rect bounds(kDefaultHostWindowX, kDefaultHostWindowY, |
| kDefaultHostWindowWidth, kDefaultHostWindowHeight); |
| int x = 0, y = 0, width, height; |
| - float scale = gfx::Display::GetDefaultDeviceScaleFactor(); |
| + float scale = 1.0f; |
|
oshima
2012/06/14 00:58:42
this value will be ignored if --force-device-scale
|
| 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, |