Chromium Code Reviews| Index: Source/platform/PlatformScreen.cpp |
| diff --git a/Source/platform/PlatformScreen.cpp b/Source/platform/PlatformScreen.cpp |
| index 6c686578f1d4ad77efff359199419702f83bf3e2..60b2ee3b8ba9518e73b1c6e9692fb4594a4b9940 100644 |
| --- a/Source/platform/PlatformScreen.cpp |
| +++ b/Source/platform/PlatformScreen.cpp |
| @@ -72,19 +72,19 @@ bool screenIsMonochrome(Widget* widget) |
| return hostWindow->screenInfo().isMonochrome; |
| } |
| -FloatRect screenRect(Widget* widget) |
| +IntRect screenRect(Widget* widget) |
| { |
| HostWindow* hostWindow = toHostWindow(widget); |
| if (!hostWindow) |
| - return FloatRect(); |
| + return IntRect(); |
| return IntRect(hostWindow->screenInfo().rect); |
|
Jens Widell
2015/01/28 12:29:55
WebScreenInfo::rect is WebRect, so changing the re
Mike West
2015/01/28 13:33:17
Acknowledged.
|
| } |
| -FloatRect screenAvailableRect(Widget* widget) |
| +IntRect screenAvailableRect(Widget* widget) |
| { |
| HostWindow* hostWindow = toHostWindow(widget); |
| if (!hostWindow) |
| - return FloatRect(); |
| + return IntRect(); |
| return IntRect(hostWindow->screenInfo().availableRect); |
|
Jens Widell
2015/01/28 12:29:55
WebScreenInfo::availableRect is WebRect too.
Mike West
2015/01/28 13:33:17
Acknowledged.
|
| } |