MD Notifications: Fix DCHECKs on Windows when showing notification.
Font metrics are calculated in two different ways on Windows, (Chrome uses DirectWrite, unit_tests GDI), so there is a slight offset that needs to be accounted for. Bug: 768300 Change-Id: Ia43e95df199b9e81ca37fae64bca76a4b9cc1d3c Reviewed-on: https://chromium-review.googlesource.com/915943 Commit-Queue: Finnur Thorarinsson <finnur@chromium.org> Reviewed-by:Peter Beverloo <peter@chromium.org> Reviewed-by:
Tetsui Ohkubo <tetsui@chromium.org> Cr-Commit-Position: refs/heads/master@{#536700}
Showing
Please register or sign in to comment