Changeset 247897 in webkit


Ignore:
Timestamp:
Jul 28, 2019 7:07:18 PM (5 years ago)
Author:
Fujii Hironori
Message:

[Win][WK1] Can't change Web Inspector frontend height in high DPI
https://bugs.webkit.org/show_bug.cgi?id=200153

Reviewed by Don Olmstead.

  • WebCoreSupport/WebInspectorClient.cpp:

(WebInspectorFrontendClient::setAttachedWindowHeight):
Applied deviceScaleFactor to the argument height.

Location:
trunk/Source/WebKitLegacy/win
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKitLegacy/win/ChangeLog

    r247883 r247897  
     12019-07-28  Fujii Hironori  <Hironori.Fujii@sony.com>
     2
     3        [Win][WK1] Can't change Web Inspector frontend height in high DPI
     4        https://bugs.webkit.org/show_bug.cgi?id=200153
     5
     6        Reviewed by Don Olmstead.
     7
     8        * WebCoreSupport/WebInspectorClient.cpp:
     9        (WebInspectorFrontendClient::setAttachedWindowHeight):
     10        Applied deviceScaleFactor to the argument height.
     11
    1122019-07-26  Konstantin Tokarev  <annulen@yandex.ru>
    213
  • trunk/Source/WebKitLegacy/win/WebCoreSupport/WebInspectorClient.cpp

    r247855 r247897  
    337337    int webViewWidth = inspectedRect.right - inspectedRect.left;
    338338    int webViewHeight = frontendRect.bottom + inspectedRect.bottom;
     339    height *= m_inspectedWebView->deviceScaleFactor();
    339340
    340341    SetWindowPos(m_frontendWebViewHwnd, 0, 0, hostWindowHeight - height, webViewWidth, height, SWP_NOZORDER);
Note: See TracChangeset for help on using the changeset viewer.