Fix resize on Windows
Among other things, https://chromiumcodereview.appspot.com/13983010 removed ScreenResolution::IsValid(), but missed a required negation when replacing one caller with IsEmpty(). Since that CL, we have added support for using an empty ScreenResolution to restore the previous desktop size (although it is currently disabled client-side), so the check is no longer required and this CL removes it. It also fixes an out-of-date comment referring to the same API. Change-Id: I12cc223c2b8f9579e50dbcd3dab0c0e0476416eb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2293420 Commit-Queue: Jamie Walch <jamiewalch@chromium.org> Commit-Queue: Joe Downing <joedow@chromium.org> Auto-Submit: Jamie Walch <jamiewalch@chromium.org> Reviewed-by:Joe Downing <joedow@chromium.org> Cr-Commit-Position: refs/heads/master@{#787439}
Showing
Please register or sign in to comment