[Win][MiniBrowser] Convert MiniBrowser::updateDeviceScaleFactor to a MainWindow's method MiniBrowser::updateDeviceScaleFactor does nothing for MiniBrowser. It should be a MainWindow's method.
Created attachment 342139 [details] Patch
Comment on attachment 342139 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=342139&action=review > Tools/MiniBrowser/win/MainWindow.cpp:426 > + m_hURLBarFont = ::CreateFont(scaleFactor * 18, 0, 0, 0, FW_NORMAL, FALSE, FALSE, FALSE, DEFAULT_CHARSET, Where did 18 come from!?
Comment on attachment 342139 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=342139&action=review Thank you very much for the review. >> Tools/MiniBrowser/win/MainWindow.cpp:426 >> + m_hURLBarFont = ::CreateFont(scaleFactor * 18, 0, 0, 0, FW_NORMAL, FALSE, FALSE, FALSE, DEFAULT_CHARSET, > > Where did 18 come from!? Good question! urlBarHeight is 24. It should be urlBarHeight * 3.0 / 4.
Created attachment 342230 [details] Patch
Committed r232609: <https://trac.webkit.org/changeset/232609>
<rdar://problem/40920937>